Home | History | Annotate | Download | only in WebView

Lines Matching refs:selector

583         Method setCursorMethod = class_getInstanceMethod([NSWindow class], @selector(_setCursorForMouseLocation:));
591 Method setNeedsDisplayInRectMethod = class_getInstanceMethod([NSView class], @selector(setNeedsDisplayInRect:));
600 Method setCursorMethod = class_getInstanceMethod([NSCursor class], @selector(set));
606 Method resetCursorRectsMethod = class_getInstanceMethod([NSWindow class], @selector(resetCursorRects));
1400 [_subviews makeObjectsPerformSelector:@selector(_propagateDirtyRectsToOpaqueAncestors)];
1796 target:self selector:@selector(_autoscroll) userInfo:nil repeats:YES] retain];
2433 - (BOOL)callDelegateDoCommandBySelectorIfNeeded:(SEL)selector
2435 BOOL callerAlreadyCalledDelegate = _private->selectorForDoCommandBySelector == selector;
2440 return [[webView _editingDelegateForwarder] webView:webView doCommandBySelector:selector];
2451 map->add(@selector(insertNewlineIgnoringFieldEditor:), "InsertNewline");
2452 map->add(@selector(insertParagraphSeparator:), "InsertNewline");
2453 map->add(@selector(insertTabIgnoringFieldEditor:), "InsertTab");
2454 map->add(@selector(pageDown:), "MovePageDown");
2455 map->add(@selector(pageDownAndModifySelection:), "MovePageDownAndModifySelection");
2456 map->add(@selector(pageUp:), "MovePageUp");
2457 map->add(@selector(pageUpAndModifySelection:), "MovePageUpAndModifySelection");
2462 static String commandNameForSelector(SEL selector)
2466 SelectorNameMap::const_iterator it = exceptionMap->find(selector);
2473 const char* selectorName = sel_getName(selector);
2480 - (Editor::Command)coreCommandBySelector:(SEL)selector
2485 return coreFrame->editor()->command(commandNameForSelector(selector));
2496 - (void)executeCoreCommandBySelector:(SEL)selector
2498 if ([self callDelegateDoCommandBySelectorIfNeeded:selector])
2500 [self coreCommandBySelector:selector].execute();
2652 // was using the old jumpToSelection selector in its menu. Newer versions of Safari will use the
2653 // selector centerSelectionInVisibleArea. We'll leave the old selector in place for two reasons:
2655 // might be using the selector, and we don't want to break them.
2676 if (action == @selector(copy:))
2682 if (action == @selector(changeSpelling:)
2683 || action == @selector(_changeSpellingFromMenu:)
2684 || action == @selector(checkSpelling:)
2685 || action == @selector(complete:)
2686 || action == @selector(pasteFont:))
2689 if (action == @selector(showGuessPanel:)) {
2703 if (action == @selector(changeBaseWritingDirection:)
2704 || action == @selector(makeBaseWritingDirectionLeftToRight:)
2705 || action == @selector(makeBaseWritingDirectionRightToLeft:)) {
2708 if (action == @selector(changeBaseWritingDirection:)) {
2712 } else if (action == @selector(makeBaseWritingDirectionLeftToRight:))
2725 if (action == @selector(makeBaseWritingDirectionNatural:)) {
2732 if (action == @selector(toggleBaseWritingDirection:)) {
2744 if (action == @selector(changeAttributes:)
2745 || action == @selector(changeColor:)
2746 || action == @selector(changeFont:))
2749 if (action == @selector(capitalizeWord:)
2750 || action == @selector(lowercaseWord:)
2751 || action == @selector(uppercaseWord:))
2754 if (action == @selector(centerSelectionInVisibleArea:)
2755 || action == @selector(jumpToSelection:)
2756 || action == @selector(copyFont:))
2759 if (action == @selector(changeDocumentBackgroundColor:))
2762 if (action == @selector(_ignoreSpellingFromMenu:)
2763 || action == @selector(_learnSpellingFromMenu:)
2764 || action == @selector(takeFindStringFromSelection:))
2767 if (action == @selector(paste:) || action == @selector(pasteAsPlainText:))
2770 if (action == @selector(pasteAsRichText:))
2774 if (action == @selector(performFindPanelAction:))
2777 if (action == @selector(_lookUpInDictionaryFromMenu:))
2780 if (action == @selector(stopSpeaking:))
2784 if (action == @selector(toggleGrammarChecking:)) {
2786 // the selector here because we implement it here, and we must implement it here because the AppKit
2796 if (action == @selector(orderFrontSubstitutionsPanel:)) {
2807 // the selector here because we implement it here, and we must implement it here because the AppKit
2809 if (action == @selector(toggleSmartInsertDelete:)) {
2815 if (action == @selector(toggleAutomaticQuoteSubstitution:)) {
2821 if (action == @selector(toggleAutomaticLinkDetection:)) {
2827 if (action == @selector(toggleAutomaticDashSubstitution:)) {
2833 if (action == @selector(toggleAutomaticTextReplacement:)) {
2839 if (action == @selector(toggleAutomaticSpellingCorrection:)) {
2865 return CallUIDelegateReturningBoolean(result, [self _webView], @selector(webView:validateUserInterfaceItem:defaultValidation:), item, result);
2934 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(mouseMovedNotification:)
2962 [notificationCenter addObserver:self selector:@selector(_frameOrBoundsChanged) name:NSViewFrameDidChangeNotification object:superview];
2963 [notificationCenter addObserver:self selector:@selector(_frameOrBoundsChanged) name:NSViewBoundsDidChangeNotification object:superview];
2985 [notificationCenter addObserver:self selector:@selector(windowDidBecomeKey:) name:NSWindowDidBecomeKeyNotification object:nil];
2986 [notificationCenter addObserver:self selector:@selector(windowDidResignKey:) name:NSWindowDidResignKeyNotification object:nil];
2987 [notificationCenter addObserver:self selector:@selector(windowWillClose:) name:NSWindowWillCloseNotification object:window];
3069 - (void)_web_makePluginSubviewsPerformSelector:(SEL)selector withObject:(id)object
3080 [view performSelector:selector withObject:object];
3088 [self _web_makePluginSubviewsPerformSelector:@selector(viewWillMoveToHostWindow:) withObject:hostWindow];
3093 [self _web_makePluginSubviewsPerformSelector:@selector(viewDidMoveToHostWindow) withObject:nil];
3198 [menuItem setAction:@selector(forwardContextMenuAction:)];
3425 CallUIDelegate(webView, @selector(webView:didDrawFrame:), [self _frame]);
3974 [self performSelector:@selector(_delayedEndPrintMode:) withObject:currenPrintOperation afterDelay:0];
4033 [self performSelector:@selector(_delayedEndPrintMode:) withObject:initiatingOperation afterDelay:0];
4069 [self performSelector:@selector(_delayedEndPrintMode:) withObject:printOperation afterDelay:0];
4116 selector:@selector(_delayedEndPrintMode:)
4686 - (DOMCSSStyleDeclaration *)_styleFromColorPanelWithSelector:(SEL)selector
4690 ASSERT([style respondsToSelector:selector]);
4691 [style performSelector:selector withObject:[self _colorAsString:[[NSColorPanel sharedColorPanel] color]]];
4696 - (EditAction)_undoActionFromColorPanelWithSelector:(SEL)selector
4698 if (selector == @selector(setBackgroundColor:))
4703 - (void)_changeCSSColorUsingSelector:(SEL)selector inRange:(DOMRange *)range
4705 DOMCSSStyleDeclaration *style = [self _styleFromColorPanelWithSelector:selector];
4709 coreFrame->editor()->applyStyle(core(style), [self _undoActionFromColorPanelWithSelector:selector]);
4727 [self _changeCSSColorUsingSelector:@selector(setBackgroundColor:) inRange:[self _documentRange]];
4739 [self _applyStyleToSelection:[self _styleFromColorPanelWithSelector:@selector(setColor:)]
4743 - (void)_changeWordCaseWithSelector:(SEL)selector
4750 NSString *word = [[frame _selectedString] performSelector:selector];
4760 [self _changeWordCaseWithSelector:@selector(uppercaseString)];
4767 [self _changeWordCaseWithSelector:@selector(lowercaseString)];
4774 [self _changeWordCaseWithSelector:@selector(capitalizedString)];
5019 // Returns a selector only if called while:
5024 // The selector is the one that gets sent by -[NSWindow _processKeyboardUIKey] for this key.
5040 return @selector(moveDown:);
5042 return @selector(moveLeft:);
5044 return @selector(moveRight:);
5046 return @selector(moveUp:);
5052 // Returns NO instead of YES if called on the selector that the
5058 - (BOOL)respondsToSelector:(SEL)selector
5060 if (![super respondsToSelector:selector])
5063 if (selector != arrowKeySelector)
5105 [self performSelectorOnMainThread:@selector(_updateControlTints) withObject:nil waitUntilDone:NO];
6006 - (void)doCommandBySelector:(SEL)selector
6008 LOG(TextInput, "doCommandBySelector:\"%s\"", sel_getName(selector));
6024 event->keypressCommands().append(KeypressCommand(NSStringFromSelector(selector)));
6032 if ([[webView _editingDelegateForwarder] webView:webView doCommandBySelector:selector])
6035 Editor::Command command = [self coreCommandBySelector:selector];
6039 // If WebKit does not support this command, we need to pass the selector to super.
6040 _private->selectorForDoCommandBySelector = selector;
6045 [super doCommandBySelector:selector];
6444 - (void)noResponderFor:(SEL)selector
6449 - (void)doCommandBySelector:(SEL)selector