Lines Matching refs:selector
475 + (void)_makeAllWebViewsPerformSelector:(SEL)selector
480 [(NSMutableSet *)allWebViewsSet makeObjectsPerformSelector:selector];
501 static inline int callGestalt(OSType selector)
504 Gestalt(selector, &value);
778 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_preferencesChangedNotification:)
1280 CallUIDelegate(newWindowWebView, @selector(webViewShow:));
1301 // CallUIDelegate returns nil if UIDelegate is nil or doesn't respond to the selector. So we need to check that here
1303 SEL selector = @selector(webView:contextMenuItemsForElement:defaultMenuItems:);
1304 if (_private->UIDelegate && [_private->UIDelegate respondsToSelector:selector]) {
1305 menuItems = CallUIDelegate(self, selector, element, defaultMenuItems);
1328 CallUIDelegate(self, @selector(webView:mouseDidMoveOverElement:modifierFlags:), dictionary, modifierFlags);
1584 cache->didCancelAuthenticationChallengeFunc = getMethod(delegate, @selector(webView:resource:didReceiveAuthenticationChallenge:fromDataSource:));
1585 cache->didFailLoadingWithErrorFromDataSourceFunc = getMethod(delegate, @selector(webView:resource:didFailLoadingWithError:fromDataSource:));
1586 cache->didFinishLoadingFromDataSourceFunc = getMethod(delegate, @selector(webView:resource:didFinishLoadingFromDataSource:));
1587 cache->didLoadResourceFromMemoryCacheFunc = getMethod(delegate, @selector(webView:didLoadResourceFromMemoryCache:response:length:fromDataSource:));
1588 cache->didReceiveAuthenticationChallengeFunc = getMethod(delegate, @selector(webView:resource:didReceiveAuthenticationChallenge:fromDataSource:));
1590 cache->canAuthenticateAgainstProtectionSpaceFunc = getMethod(delegate, @selector(webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:));
1592 cache->didReceiveContentLengthFunc = getMethod(delegate, @selector(webView:resource:didReceiveContentLength:fromDataSource:));
1593 cache->didReceiveResponseFunc = getMethod(delegate, @selector(webView:resource:didReceiveResponse:fromDataSource:));
1594 cache->identifierForRequestFunc = getMethod(delegate, @selector(webView:identifierForInitialRequest:fromDataSource:));
1595 cache->plugInFailedWithErrorFunc = getMethod(delegate, @selector(webView:plugInFailedWithError:dataSource:));
1596 cache->willCacheResponseFunc = getMethod(delegate, @selector(webView:resource:willCacheResponse:fromDataSource:));
1597 cache->willSendRequestFunc = getMethod(delegate, @selector(webView:resource:willSendRequest:redirectResponse:fromDataSource:));
1598 cache->shouldUseCredentialStorageFunc = getMethod(delegate, @selector(webView:resource:shouldUseCredentialStorageForDataSource:));
1599 cache->shouldPaintBrokenImageForURLFunc = getMethod(delegate, @selector(webView:shouldPaintBrokenImageForURL:));
1612 cache->didCancelClientRedirectForFrameFunc = getMethod(delegate, @selector(webView:didCancelClientRedirectForFrame:));
1613 cache->didChangeLocationWithinPageForFrameFunc = getMethod(delegate, @selector(webView:didChangeLocationWithinPageForFrame:));
1614 cache->didPushStateWithinPageForFrameFunc = getMethod(delegate, @selector(webView:didPushStateWithinPageForFrame:));
1615 cache->didReplaceStateWithinPageForFrameFunc = getMethod(delegate, @selector(webView:didReplaceStateWithinPageForFrame:));
1616 cache->didPopStateWithinPageForFrameFunc = getMethod(delegate, @selector(webView:didPopStateWithinPageForFrame:));
1617 cache->didClearWindowObjectForFrameFunc = getMethod(delegate, @selector(webView:didClearWindowObject:forFrame:));
1618 cache->didClearWindowObjectForFrameInScriptWorldFunc = getMethod(delegate, @selector(webView:didClearWindowObjectForFrame:inScriptWorld:));
1619 cache->didClearInspectorWindowObjectForFrameFunc = getMethod(delegate, @selector(webView:didClearInspectorWindowObject:forFrame:));
1620 cache->didCommitLoadForFrameFunc = getMethod(delegate, @selector(webView:didCommitLoadForFrame:));
1621 cache->didFailLoadWithErrorForFrameFunc = getMethod(delegate, @selector(webView:didFailLoadWithError:forFrame:));
1622 cache->didFailProvisionalLoadWithErrorForFrameFunc = getMethod(delegate, @selector(webView:didFailProvisionalLoadWithError:forFrame:));
1623 cache->didFinishDocumentLoadForFrameFunc = getMethod(delegate, @selector(webView:didFinishDocumentLoadForFrame:));
1624 cache->didFinishLoadForFrameFunc = getMethod(delegate, @selector(webView:didFinishLoadForFrame:));
1625 cache->didFirstLayoutInFrameFunc = getMethod(delegate, @selector(webView:didFirstLayoutInFrame:));
1626 cache->didFirstVisuallyNonEmptyLayoutInFrameFunc = getMethod(delegate, @selector(webView:didFirstVisuallyNonEmptyLayoutInFrame:));
1627 cache->didHandleOnloadEventsForFrameFunc = getMethod(delegate, @selector(webView:didHandleOnloadEventsForFrame:));
1628 cache->didReceiveIconForFrameFunc = getMethod(delegate, @selector(webView:didReceiveIcon:forFrame:));
1629 cache->didReceiveServerRedirectForProvisionalLoadForFrameFunc = getMethod(delegate, @selector(webView:didReceiveServerRedirectForProvisionalLoadForFrame:));
1630 cache->didReceiveTitleForFrameFunc = getMethod(delegate, @selector(webView:didReceiveTitle:forFrame:));
1631 cache->didStartProvisionalLoadForFrameFunc = getMethod(delegate, @selector(webView:didStartProvisionalLoadForFrame:));
1632 cache->willCloseFrameFunc = getMethod(delegate, @selector(webView:willCloseFrame:));
1633 cache->willPerformClientRedirectToURLDelayFireDateForFrameFunc = getMethod(delegate, @selector(webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:));
1634 cache->windowScriptObjectAvailableFunc = getMethod(delegate, @selector(webView:windowScriptObjectAvailable:));
1635 cache->didDisplayInsecureContentFunc = getMethod(delegate, @selector(webViewDidDisplayInsecureContent:));
1636 cache->didRunInsecureContentFunc = getMethod(delegate, @selector(webView:didRunInsecureContent:));
1649 selector(webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:));
1654 cache->didParseSourceFunc = getMethod(delegate, @selector(webView:didParseSource:fromURL:sourceId:forWebFrame:));
1657 cache->failedToParseSourceFunc = getMethod(delegate, @selector(webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:));
1658 cache->didEnterCallFrameFunc = getMethod(delegate, @selector(webView:didEnterCallFrame:sourceId:line:forWebFrame:));
1659 cache->willExecuteStatementFunc = getMethod(delegate, @selector(webView:willExecuteStatement:sourceId:line:forWebFrame:));
1660 cache->willLeaveCallFrameFunc = getMethod(delegate, @selector(webView:willLeaveCallFrame:sourceId:line:forWebFrame:));
1662 cache->exceptionWasRaisedFunc = getMethod(delegate, @selector(webView:exceptionWasRaised:hasHandler:sourceId:line:forWebFrame:));
1667 cache->exceptionWasRaisedFunc = getMethod(delegate, @selector(webView:exceptionWasRaised:sourceId:line:forWebFrame:));
1681 cache->navigatedFunc = getMethod(delegate, @selector(webView:didNavigateWithNavigationData:inFrame:));
1682 cache->clientRedirectFunc = getMethod(delegate, @selector(webView:didPerformClientRedirectFromURL:toURL:inFrame:));
1683 cache->serverRedirectFunc = getMethod(delegate, @selector(webView:didPerformServerRedirectFromURL:toURL:inFrame:));
1684 cache->setTitleFunc = getMethod(delegate, @selector(webView:updateHistoryTitle:forURL:));
1685 cache->populateVisitedLinksFunc = getMethod(delegate, @selector(populateVisitedLinksForWebView:));
2858 if ([target respondsToSelector:[invocation selector]]) {
2863 ReportDiscardedDelegateException([invocation selector], exception);
2870 if ([defaultTarget respondsToSelector:[invocation selector]])
2896 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_applicationWillTerminate) name:NSApplicationWillTerminateNotification object:NSApp];
2897 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_preferencesChangedNotification:) name:WebPreferencesChangedInternalNotification object:nil];
2898 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_preferencesRemovedNotification:) name:WebPreferencesRemovedNotification object:nil];
3169 [[result subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
3295 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowDidBecomeKey:)
3297 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowDidResignKey:)
3299 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowWillOrderOnScreen:)
3329 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowWillClose:) name:NSWindowWillCloseNotification object:window];
3408 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_preferencesChangedNotification:)
3819 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowWillClose:) name:NSWindowWillCloseNotification object:hostWindow];
4333 if ([responder respondsToSelector:@selector(validateUserInterfaceItemWithoutDelegate:)])
4335 if ([responder respondsToSelector:@selector(validateUserInterfaceItem:)])
4343 else if (action == @selector(name:)) { return [self _responderValidateUserInterfaceItem:item]; }
4349 if (action == @selector(goBack:)) {
4351 } else if (action == @selector(goForward:)) {
4353 } else if (action == @selector(makeTextLarger:)) {
4355 } else if (action == @selector(makeTextSmaller:)) {
4357 } else if (action == @selector(makeTextStandardSize:)) {
4359 } else if (action == @selector(reload:)) {
4361 } else if (action == @selector(stopLoading:)) {
4363 } else if (action == @selector(toggleContinuousSpellChecking:)) {
4375 } else if (action == @selector(toggleSmartInsertDelete:)) {
4383 } else if (action == @selector(toggleGrammarChecking:)) {
4392 } else if (action == @selector(toggleAutomaticQuoteSubstitution:)) {
4399 } else if (action == @selector(toggleAutomaticLinkDetection:)) {
4406 } else if (action == @selector(toggleAutomaticDashSubstitution:)) {
4413 } else if (action == @selector(toggleAutomaticTextReplacement:)) {
4420 } else if (action == @selector(toggleAutomaticSpellingCorrection:)) {
4437 return CallUIDelegateReturningBoolean(result, self, @selector(webView:validateUserInterfaceItem:defaultValidation:), item, result);
4882 return CallUIDelegateReturningFloat(self, @selector(webViewHeaderHeight:));
4887 return CallUIDelegateReturningFloat(self, @selector(webViewFooterHeight:));
4900 SEL selector = @selector(webView:drawHeaderInRect:);
4901 if (![_private->UIDelegate respondsToSelector:selector])
4908 CallUIDelegate(self, selector, rect);
4923 SEL selector = @selector(webView:drawFooterInRect:);
4924 if (![_private->UIDelegate respondsToSelector:selector])
4931 CallUIDelegate(self, selector, rect);
5168 - (void)registerForEditingDelegateNotification:(NSString *)name selector:(SEL)selector
5171 if ([_private->editingDelegate respondsToSelector:selector])
5172 [defaultCenter addObserver:_private->editingDelegate selector:selector name:name object:self];
5194 [self registerForEditingDelegateNotification:WebViewDidBeginEditingNotification selector:@selector(webViewDidBeginEditing:)];
5195 [self registerForEditingDelegateNotification:WebViewDidChangeNotification selector:@selector(webViewDidChange:)];
5196 [self registerForEditingDelegateNotification:WebViewDidEndEditingNotification selector:@selector(webViewDidEndEditing:)];
5197 [self registerForEditingDelegateNotification:WebViewDidChangeTypingStyleNotification selector:@selector(webViewDidChangeTypingStyle:)];
5198 [self registerForEditingDelegateNotification:WebViewDidChangeSelectionNotification selector:@selector(webViewDidChangeSelection:)];
5242 if ([spellChecker respondsToSelector:@selector(_updateGrammar)])
5243 [spellChecker performSelector:@selector(_updateGrammar)];
5439 - (void)_performResponderOperation:(SEL)selector with:(id)parameter
5443 selector with:parameter];
5455 // selector down to the view inside us that can handle it, and continue down the
5458 // Pass this selector down to the first responder.
5461 [responder tryToPerform:selector with:parameter];
5785 [self performSelector:@selector(_preflightSpellCheckerNow:) withObject:self afterDelay:2.0];
5930 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_receivedIconChangedNotification:) name:WebIconDatabaseDidAddIconNotification object:nil];
5948 CallFrameLoadDelegate(cache->didReceiveIconForFrameFunc, self, @selector(webView:didReceiveIcon:forFrame:), icon, webFrame);
6009 addObserver:self selector:@selector(_retrieveKeyboardUIModeFromPreferences:)
6013 addObserver:self selector:@selector(_retrieveKeyboardUIModeFromPreferences:)
6373 static void recursivelyRemoveMailAttributes(DOMNode *self, SEL selector, BOOL a, BOOL b, BOOL c)
6380 Method methodToPatch = class_getInstanceMethod(objc_getRequiredClass("DOMHTMLObjectElement"), @selector(data));
6382 originalRecursivelyRemoveMailAttributesImp(self, selector, a, b, c);
6393 Method methodToPatch = class_getInstanceMethod(objc_getRequiredClass("DOMNode"), @selector(recursivelyRemoveMailAttributes:convertObjectsToImages:convertEditableElements:));