Changeset 93548 in webkit
- Timestamp:
- Aug 22, 2011 2:56:22 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r93546 r93548 1 2011-08-21 Michael Saboff <msaboff@apple.com> 1 2011-08-22 Anders Carlsson <andersca@apple.com> 2 3 Update the text input context when the plug-in focus changes and not when the complex text input state changes 4 https://bugs.webkit.org/show_bug.cgi?id=66716 5 6 Reviewed by Darin Adler. 7 8 * UIProcess/API/mac/WKView.mm: 9 (-[WKView _pluginFocusOrWindowFocusChanged:pluginComplexTextInputIdentifier:]): 10 (-[WKView _setPluginComplexTextInputState:WebKit::pluginComplexTextInputIdentifier:]): 11 12 2011-08-22 Michael Saboff <msaboff@apple.com> 2 13 3 14 REGRESSION (r92231): Apple campus proposal PDF doesn't display in Safari -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r93544 r93548 2288 2288 - (void)_pluginFocusOrWindowFocusChanged:(BOOL)pluginHasFocusAndWindowHasFocus pluginComplexTextInputIdentifier:(uint64_t)pluginComplexTextInputIdentifier 2289 2289 { 2290 // FIXME: Implement.2291 }2292 2293 - (void)_setPluginComplexTextInputState:(WebKit::PluginComplexTextInputState)pluginComplexTextInputState pluginComplexTextInputIdentifier:(uint64_t)pluginComplexTextInputIdentifier2294 {2295 2290 BOOL inputSourceChanged = _data->_pluginComplexTextInputIdentifier; 2296 BOOL complexTextInputEnabled = (pluginComplexTextInputState == PluginComplexTextInputEnabledLegacy); 2297 2298 if (complexTextInputEnabled) { 2291 2292 if (pluginHasFocusAndWindowHasFocus) { 2299 2293 // Check if we're already allowing text input for this plug-in. 2300 2294 if (pluginComplexTextInputIdentifier == _data->_pluginComplexTextInputIdentifier) … … 2304 2298 2305 2299 } else { 2306 // Check if we got a request to disable complex text input for a plug-in that is not the current plug-in.2300 // Check if we got a request to unfocus a plug-in that isn't focused. 2307 2301 if (pluginComplexTextInputIdentifier != _data->_pluginComplexTextInputIdentifier) 2308 2302 return; … … 2318 2312 // This will force the current input context to be updated to its correct value. 2319 2313 [NSApp updateWindows]; 2314 } 2315 2316 - (void)_setPluginComplexTextInputState:(WebKit::PluginComplexTextInputState)pluginComplexTextInputState pluginComplexTextInputIdentifier:(uint64_t)pluginComplexTextInputIdentifier 2317 { 2318 if (pluginComplexTextInputIdentifier != _data->_pluginComplexTextInputIdentifier) { 2319 // We're asked to update the state for a plug-in that doesn't have focus. 2320 return; 2321 } 2322 2323 // FIXME: Actually update the state here when using the new Cocoa text input model. 2320 2324 } 2321 2325
Note: See TracChangeset
for help on using the changeset viewer.