Searched refs:callbackFunction (Results 1 - 25 of 25) sorted by relevance

/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/
H A DWebFrameProxy.cpp201 void WebFrameProxy::getWebArchive(std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
204 callbackFunction(nullptr, CallbackBase::Error::Unknown);
208 m_page->getWebArchiveOfFrame(this, callbackFunction);
211 void WebFrameProxy::getMainResourceData(std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
214 callbackFunction(nullptr, CallbackBase::Error::Unknown);
218 m_page->getMainResourceDataOfFrame(this, callbackFunction);
221 void WebFrameProxy::getResourceData(API::URL* resourceURL, std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
224 callbackFunction(nullptr, CallbackBase::Error::Unknown);
228 m_page->getResourceDataFromFrame(this, resourceURL, callbackFunction);
H A DWebOriginDataManagerProxy.cpp87 void WebOriginDataManagerProxy::getOrigins(WKOriginDataTypes types, std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
93 callbackFunction(nullptr, CallbackBase::Error::None);
97 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
124 void WebOriginDataManagerProxy::deleteEntriesForOrigin(WKOriginDataTypes types, WebSecurityOrigin* origin, std::function<void (CallbackBase::Error)> callbackFunction) argument
130 callbackFunction(CallbackBase::Error::None);
134 RefPtr<VoidCallback> callback = VoidCallback::create(WTF::move(callbackFunction));
152 void WebOriginDataManagerProxy::deleteEntriesModifiedBetweenDates(WKOriginDataTypes types, double startDate, double endDate, std::function<void (CallbackBase::Error)> callbackFunction) argument
158 callbackFunction(CallbackBase::Error::None);
162 RefPtr<VoidCallback> callback = VoidCallback::create(WTF::move(callbackFunction));
182 void WebOriginDataManagerProxy::deleteAllEntries(WKOriginDataTypes types, std::function<void (CallbackBase::Error)> callbackFunction) argument
[all...]
H A DWebMediaCacheManagerProxy.cpp84 void WebMediaCacheManagerProxy::getHostnamesWithMediaCache(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
86 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
H A DWebCookieManagerProxy.cpp102 void WebCookieManagerProxy::getHostnamesWithCookies(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
104 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
164 void WebCookieManagerProxy::getHTTPCookieAcceptPolicy(std::function<void (HTTPCookieAcceptPolicy, CallbackBase::Error)> callbackFunction) argument
166 RefPtr<HTTPCookieAcceptPolicyCallback> callback = HTTPCookieAcceptPolicyCallback::create(WTF::move(callbackFunction));
H A DWebKeyValueStorageManager.cpp102 void WebKeyValueStorageManager::getKeyValueStorageOrigins(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
104 context()->storageManager().getOrigins(RunLoop::main(), ArrayCallback::create(WTF::move(callbackFunction)).leakRef(), didGetKeyValueStorageOrigins);
131 void WebKeyValueStorageManager::getStorageDetailsByOrigin(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
133 context()->storageManager().getStorageDetailsByOrigin(RunLoop::main(), ArrayCallback::create(WTF::move(callbackFunction)).leakRef(), didGetStorageDetailsByOrigin);
H A DWebApplicationCacheManagerProxy.cpp83 void WebApplicationCacheManagerProxy::getApplicationCacheOrigins(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
85 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
H A DWebResourceCacheManagerProxy.cpp91 void WebResourceCacheManagerProxy::getCacheOrigins(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
93 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
H A DWebDatabaseManagerProxy.cpp155 void WebDatabaseManagerProxy::getDatabasesByOrigin(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
157 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
208 void WebDatabaseManagerProxy::getDatabaseOrigins(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
210 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
H A DWebPageProxy.cpp1290 void WebPageProxy::validateCommand(const String& commandName, std::function<void (const String&, bool, int32_t, CallbackBase::Error)> callbackFunction) argument
1293 callbackFunction(String(), false, 0, CallbackBase::Error::Unknown);
1297 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
2276 void WebPageProxy::runJavaScriptInMainFrame(const String& script, std::function<void (WebSerializedScriptValue*, CallbackBase::Error)> callbackFunction) argument
2279 callbackFunction(nullptr, CallbackBase::Error::Unknown);
2283 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
2287 void WebPageProxy::getRenderTreeExternalRepresentation(std::function<void (const String&, CallbackBase::Error)> callbackFunction) argument
2290 callbackFunction(String(), CallbackBase::Error::Unknown);
2294 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
2298 void WebPageProxy::getSourceForFrame(WebFrameProxy* frame, std::function<void (const String&, CallbackBase::Error)> callbackFunction) argument
2310 getContentsAsString(std::function<void (const String&, CallbackBase::Error)> callbackFunction) argument
2322 getBytecodeProfile(std::function<void (const String&, CallbackBase::Error)> callbackFunction) argument
2335 getContentsAsMHTMLData(std::function<void (API::Data*, CallbackBase::Error)> callbackFunction, bool useBinaryEncoding) argument
2347 getSelectionOrContentsAsString(std::function<void (const String&, CallbackBase::Error)> callbackFunction) argument
2358 getSelectionAsWebArchiveData(std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
2369 getMainResourceDataOfFrame(WebFrameProxy* frame, std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
2380 getResourceDataFromFrame(WebFrameProxy* frame, API::URL* resourceURL, std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
2391 getWebArchiveOfFrame(WebFrameProxy* frame, std::function<void (API::Data*, CallbackBase::Error)> callbackFunction) argument
5084 getMarkedRangeAsync(std::function<void (EditingRange, CallbackBase::Error)> callbackFunction) argument
5095 getSelectedRangeAsync(std::function<void (EditingRange, CallbackBase::Error)> callbackFunction) argument
5106 characterIndexForPointAsync(const WebCore::IntPoint& point, std::function<void (uint64_t, CallbackBase::Error)> callbackFunction) argument
5117 firstRectForCharacterRangeAsync(const EditingRange& range, std::function<void (const WebCore::IntRect&, const EditingRange&, CallbackBase::Error)> callbackFunction) argument
5149 takeSnapshot(IntRect rect, IntSize bitmapSize, SnapshotOptions options, std::function<void (const ShareableBitmap::Handle&, CallbackBase::Error)> callbackFunction) argument
[all...]
H A DWebContext.cpp1282 void WebContext::getStatistics(uint32_t statisticsMask, std::function<void (ImmutableDictionary*, CallbackBase::Error)> callbackFunction) argument
1285 callbackFunction(nullptr, CallbackBase::Error::Unknown);
1289 RefPtr<StatisticsRequest> request = StatisticsRequest::create(DictionaryCallback::create(WTF::move(callbackFunction)));
H A DWebPageProxy.h676 void runJavaScriptInMainFrame(const String&, std::function<void (WebSerializedScriptValue*, CallbackBase::Error)> callbackFunction);
/macosx-10.10.1/objc4-646/runtime/
H A Dobjc-load.mm36 extern void (*callbackFunction)( Class, Category );
79 callbackFunction = class_callback;
96 callbackFunction = NULL;
H A Dobjc-runtime-old.mm193 void (*callbackFunction)(Class, Category) = 0;
1338 if (connected && callbackFunction) {
1339 (*callbackFunction)(cls, 0);
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/ios/
H A DWebPageProxyIOS.mm347 void WebPageProxy::selectWithGesture(const WebCore::IntPoint point, WebCore::TextGranularity granularity, uint32_t gestureType, uint32_t gestureState, std::function<void (const WebCore::IntPoint&, uint32_t, uint32_t, uint32_t, CallbackBase::Error)> callbackFunction)
350 callbackFunction(WebCore::IntPoint(), 0, 0, 0, CallbackBase::Error::Unknown);
354 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
358 void WebPageProxy::updateSelectionWithTouches(const WebCore::IntPoint point, uint32_t touches, bool baseIsStart, std::function<void (const WebCore::IntPoint&, uint32_t, CallbackBase::Error)> callbackFunction)
361 callbackFunction(WebCore::IntPoint(), 0, CallbackBase::Error::Unknown);
365 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
379 void WebPageProxy::requestAutocorrectionData(const String& textForAutocorrection, std::function<void (const Vector<WebCore::FloatRect>&, const String&, double, uint64_t, CallbackBase::Error)> callbackFunction)
382 callbackFunction(Vector<WebCore::FloatRect>(), String(), 0, 0, CallbackBase::Error::Unknown);
386 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));
390 void WebPageProxy::applyAutocorrection(const String& correction, const String& originalText, std::function<void (const String&, CallbackBase::Error)> callbackFunction)
[all...]
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/kc/
H A Dkc-21-item-use-callback.c55 static OSStatus callbackFunction(SecKeychainEvent keychainEvent, function
77 ok_status(SecKeychainAddCallback(callbackFunction, kSecAddEventMask,
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/Plugins/
H A DWebPluginSiteDataManager.cpp141 void WebPluginSiteDataManager::getSitesWithData(std::function<void (API::Array*, CallbackBase::Error)> callbackFunction) argument
143 RefPtr<ArrayCallback> callback = ArrayCallback::create(WTF::move(callbackFunction));
171 void WebPluginSiteDataManager::clearSiteData(API::Array* sites, uint64_t flags, uint64_t maxAgeInSeconds, std::function<void (CallbackBase::Error)> callbackFunction) argument
173 RefPtr<VoidCallback> callback = VoidCallback::create(WTF::move(callbackFunction));
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DSecKeychain.h489 @param callbackFunction A pointer to your keychain event callback function, described in SecKeychainCallback. You indicate the type of keychain events you want to receive by passing a bit mask of the desired events in the eventMask parameter.
494 OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext);
499 @param callbackFunction The callback function pointer to remove
502 OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction);
H A DSecKeychain.cpp478 SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext) argument
482 RequiredParam(callbackFunction);
483 CCallbackMgr::AddCallback(callbackFunction,eventMask,userContext);
490 SecKeychainRemoveCallback(SecKeychainCallback callbackFunction) argument
494 RequiredParam(callbackFunction);
495 CCallbackMgr::RemoveCallback(callbackFunction);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecKeychain.h489 @param callbackFunction A pointer to your keychain event callback function, described in SecKeychainCallback. You indicate the type of keychain events you want to receive by passing a bit mask of the desired events in the eventMask parameter.
494 OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext);
499 @param callbackFunction The callback function pointer to remove
502 OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction);
H A DSecKeychain.cpp478 SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext) argument
482 RequiredParam(callbackFunction);
483 CCallbackMgr::AddCallback(callbackFunction,eventMask,userContext);
490 SecKeychainRemoveCallback(SecKeychainCallback callbackFunction) argument
494 RequiredParam(callbackFunction);
495 CCallbackMgr::RemoveCallback(callbackFunction);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecKeychain.h489 @param callbackFunction A pointer to your keychain event callback function, described in SecKeychainCallback. You indicate the type of keychain events you want to receive by passing a bit mask of the desired events in the eventMask parameter.
494 OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext);
499 @param callbackFunction The callback function pointer to remove
502 OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction);
H A DSecKeychain.cpp478 SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext) argument
482 RequiredParam(callbackFunction);
483 CCallbackMgr::AddCallback(callbackFunction,eventMask,userContext);
490 SecKeychainRemoveCallback(SecKeychainCallback callbackFunction) argument
494 RequiredParam(callbackFunction);
495 CCallbackMgr::RemoveCallback(callbackFunction);
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/Storage/
H A DStorageManager.cpp647 static void callCallbackFunction(void* context, void (*callbackFunction)(const Vector<RefPtr<WebCore::SecurityOrigin>>& securityOrigins, void* context), Vector<RefPtr<WebCore::SecurityOrigin>>* securityOriginsPtr)
650 callbackFunction(*securityOrigins, context);
653 void StorageManager::getOriginsInternal(FunctionDispatcher* dispatcher, void* context, void (*callbackFunction)(const Vector<RefPtr<WebCore::SecurityOrigin>>& securityOrigins, void* context))
656 dispatcher->dispatch(bind(callCallbackFunction, context, callbackFunction, securityOrigins.release()));
659 void StorageManager::getStorageDetailsByOriginInternal(FunctionDispatcher* dispatcher, void* context, void (*callbackFunction)(const Vector<LocalStorageDetails>& storageDetails, void* context))
662 dispatcher->dispatch(bind(callbackFunction, WTF::move(storageDetails), context));
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/mac/
H A DRemoteLayerTreeDrawingAreaProxy.mm396 void RemoteLayerTreeDrawingAreaProxy::dispatchAfterEnsuringDrawing(std::function<void (CallbackBase::Error)> callbackFunction)
399 callbackFunction(CallbackBase::Error::OwnerWasInvalidated);
403 m_webPageProxy->process().send(Messages::DrawingArea::AddTransactionCallbackID(m_callbacks.put(WTF::move(callbackFunction), nullptr)), m_webPageProxy->pageID());
H A DWebPageProxyMac.mm308 void WebPageProxy::attributedSubstringForCharacterRangeAsync(const EditingRange& range, std::function<void (const AttributedString&, const EditingRange&, CallbackBase::Error)> callbackFunction)
311 callbackFunction(AttributedString(), EditingRange(), CallbackBase::Error::Unknown);
315 uint64_t callbackID = m_callbacks.put(WTF::move(callbackFunction), std::make_unique<ProcessThrottler::BackgroundActivityToken>(m_process->throttler()));

Completed in 179 milliseconds