Changeset 93723 in webkit
- Timestamp:
- Aug 24, 2011, 1:02:37 PM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r93720 r93723 1 2011-08-24 Anders Carlsson <andersca@apple.com> 2 3 Rename -[WKTextInputWindowController keyboardInputSourceChanged] to unmarkText to indicate what the method does 4 https://bugs.webkit.org/show_bug.cgi?id=66883 5 6 Reviewed by Beth Dakin. 7 8 * UIProcess/API/mac/WKTextInputWindowController.h: 9 * UIProcess/API/mac/WKTextInputWindowController.mm: 10 (-[WKTextInputPanel _unmarkText]): 11 (-[WKTextInputWindowController unmarkText]): 12 * UIProcess/API/mac/WKView.mm: 13 (-[WKView _pluginFocusOrWindowFocusChanged:pluginComplexTextInputIdentifier:]): 14 1 15 2011-08-24 Oliver Hunt <oliver@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/API/mac/WKTextInputWindowController.h
r93670 r93723 36 36 37 37 - (NSTextInputContext *)inputContext; 38 - (BOOL)hasMarkedText;39 38 - (BOOL)interpretKeyEvent:(NSEvent *)event usingLegacyCocoaTextInput:(BOOL)usingLegacyCocoaTextInput string:(NSString **)string; 40 39 41 - (void)keyboardInputSourceChanged; 40 - (BOOL)hasMarkedText; 41 - (void)unmarkText; 42 42 43 43 @end -
trunk/Source/WebKit2/UIProcess/API/mac/WKTextInputWindowController.mm
r93670 r93723 34 34 35 35 - (NSTextInputContext *)_inputContext; 36 - (BOOL)_interpretKeyEvent:(NSEvent *)event usingLegacyCocoaTextInput:(BOOL)usingLegacyCocoaTextInput string:(NSString **)string; 37 36 38 - (BOOL)_hasMarkedText; 37 - ( BOOL)_interpretKeyEvent:(NSEvent *)event usingLegacyCocoaTextInput:(BOOL)usingLegacyCocoaTextInput string:(NSString **)string;39 - (void)_unmarkText; 38 40 39 41 @end … … 77 79 } 78 80 79 - (void)_ keyboardInputSourceChanged81 - (void)_unmarkText 80 82 { 81 83 [_inputTextView setString:@""]; … … 168 170 } 169 171 170 - (void) keyboardInputSourceChanged172 - (void)unmarkText 171 173 { 172 [_panel _ keyboardInputSourceChanged];174 [_panel _unmarkText]; 173 175 } 174 176 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r93712 r93723 2332 2332 2333 2333 if (inputSourceChanged) { 2334 // Inform the out of line window that the input source changed.2335 [[WKTextInputWindowController sharedTextInputWindowController] keyboardInputSourceChanged];2334 // The input source changed, go ahead and discard any entered text. 2335 [[WKTextInputWindowController sharedTextInputWindowController] unmarkText]; 2336 2336 } 2337 2337
Note:
See TracChangeset
for help on using the changeset viewer.