Title: [111019] trunk/Source/WebKit/blackberry
Revision
111019
Author
[email protected]
Date
2012-03-16 09:56:57 -0700 (Fri, 16 Mar 2012)

Log Message

[BlackBerry] Input processing mode should be cancelled when processing hot keys
https://bugs.webkit.org/show_bug.cgi?id=81348

Patch by Mike Fenton <[email protected]> on 2012-03-16
Reviewed by Rob Buis.

Don't suppress IMF notifications if we are handling
the event as a hotkey.

Reviewed Internally by Nima Ghanavatian.

* WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore::EditorClientBlackBerry::handleKeyboardEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (111018 => 111019)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-03-16 16:49:45 UTC (rev 111018)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-03-16 16:56:57 UTC (rev 111019)
@@ -1,3 +1,18 @@
+2012-03-16  Mike Fenton  <[email protected]>
+
+        [BlackBerry] Input processing mode should be cancelled when processing hot keys
+        https://bugs.webkit.org/show_bug.cgi?id=81348
+
+        Reviewed by Rob Buis.
+
+        Don't suppress IMF notifications if we are handling
+        the event as a hotkey.
+
+        Reviewed Internally by Nima Ghanavatian.
+
+        * WebCoreSupport/EditorClientBlackBerry.cpp:
+        (WebCore::EditorClientBlackBerry::handleKeyboardEvent):
+
 2012-03-16  Robin Cao  <[email protected]>
 
         [BlackBerry] Can not open certain links from bridge applications

Modified: trunk/Source/WebKit/blackberry/WebCoreSupport/EditorClientBlackBerry.cpp (111018 => 111019)


--- trunk/Source/WebKit/blackberry/WebCoreSupport/EditorClientBlackBerry.cpp	2012-03-16 16:49:45 UTC (rev 111018)
+++ trunk/Source/WebKit/blackberry/WebCoreSupport/EditorClientBlackBerry.cpp	2012-03-16 16:56:57 UTC (rev 111019)
@@ -464,6 +464,8 @@
     String commandName = interpretKeyEvent(event);
 
     if (!commandName.isEmpty()) {
+        // Hot key handling. Cancel processing mode.
+        m_webPagePrivate->m_inputHandler->setProcessingChange(false);
         if (frame->editor()->command(commandName).execute())
             event->setDefaultHandled();
         return;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to