Home | History | Annotate | Download | only in chromium

Lines Matching refs:callback

76     GetterPropertyCallback(CppBoundClass::GetterCallback* callback)
77 : m_callback(callback) { }
230 Callback* callback;
236 callback = m_fallbackCallback.get();
238 callback = (*method).second;
246 callback->run(cppArguments, &cppResult);
254 PropertyList::const_iterator callback = m_properties.find(ident);
255 if (callback == m_properties.end()) {
261 if (!callback->second->getValue(&cppValue))
269 PropertyList::iterator callback = m_properties.find(ident);
270 if (callback == m_properties.end())
275 return (*callback).second->setValue(cppValue);
278 void CppBoundClass::bindCallback(const string& name, Callback* callback)
284 if (!callback) {
290 m_methods.set(ident, callback);
293 void CppBoundClass::bindGetterCallback(const string& name, GetterCallback* callback)
295 PropertyCallback* propertyCallback = callback ? new GetterPropertyCallback(callback) : 0;
305 void CppBoundClass::bindProperty(const string& name, PropertyCallback* callback)
311 if (!callback) {
317 m_properties.set(ident, callback);
323 MethodList::const_iterator callback = m_methods.find(ident);
324 return callback != m_methods.end();