Title: [177162] trunk/Source/WebKit2
Revision
177162
Author
[email protected]
Date
2014-12-11 11:24:47 -0800 (Thu, 11 Dec 2014)

Log Message

[GTK] Disable backspace key navigation
https://bugs.webkit.org/show_bug.cgi?id=136231

Patch by Michael Catanzaro <[email protected]> on 2014-12-11
Reviewed by Carlos Garcia Campos.

* WebProcess/WebPage/gtk/WebPageGtk.cpp:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent): remove handling
for backspace and <shift>backspace key combinations.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (177161 => 177162)


--- trunk/Source/WebKit2/ChangeLog	2014-12-11 19:23:30 UTC (rev 177161)
+++ trunk/Source/WebKit2/ChangeLog	2014-12-11 19:24:47 UTC (rev 177162)
@@ -1,5 +1,16 @@
 2014-12-11  Michael Catanzaro  <[email protected]>
 
+        [GTK] Disable backspace key navigation
+        https://bugs.webkit.org/show_bug.cgi?id=136231
+
+        Reviewed by Carlos Garcia Campos.
+
+        * WebProcess/WebPage/gtk/WebPageGtk.cpp:
+        (WebKit::WebPage::performDefaultBehaviorForKeyEvent): remove handling
+        for backspace and <shift>backspace key combinations.
+
+2014-12-11  Michael Catanzaro  <[email protected]>
+
         [GTK] String changes for the HTTP authentication dialog
         https://bugs.webkit.org/show_bug.cgi?id=136782
 

Modified: trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp (177161 => 177162)


--- trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp	2014-12-11 19:23:30 UTC (rev 177161)
+++ trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp	2014-12-11 19:24:47 UTC (rev 177162)
@@ -93,12 +93,6 @@
         return false;
 
     switch (keyboardEvent.windowsVirtualKeyCode()) {
-    case VK_BACK:
-        if (keyboardEvent.shiftKey())
-            m_page->backForward().goForward();
-        else
-            m_page->backForward().goBack();
-        break;
     case VK_SPACE:
         scroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollUp : ScrollDown, ScrollByPage);
         break;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to