Fix EFL WebKit2 build.
authorjinwoo7.song@samsung.com <jinwoo7.song@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jan 2014 04:42:00 +0000 (04:42 +0000)
committerjinwoo7.song@samsung.com <jinwoo7.song@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jan 2014 04:42:00 +0000 (04:42 +0000)
* WebProcess/WebPage/efl/WebPageEfl.cpp:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp

index 1828d2c..da1d1d0 100644 (file)
@@ -1,3 +1,10 @@
+2014-01-24  Jinwoo Song  <jinwoo7.song@samsung.com>
+
+        Fix EFL WebKit2 build.
+
+        * WebProcess/WebPage/efl/WebPageEfl.cpp:
+        (WebKit::WebPage::performDefaultBehaviorForKeyEvent):
+
 2014-01-24  Anders Carlsson  <andersca@apple.com>
 
         Fix GTK+ WebKit2 build.
index 64bcedd..74aed37 100644 (file)
@@ -33,6 +33,7 @@
 #include "NotImplemented.h"
 #include "WebEvent.h"
 #include "WindowsKeyboardCodes.h"
+#include <WebCore/BackForwardController.h>
 #include <WebCore/EflKeyboardUtilities.h>
 #include <WebCore/FocusController.h>
 #include <WebCore/Frame.h>
@@ -88,9 +89,9 @@ bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboard
     switch (keyboardEvent.windowsVirtualKeyCode()) {
     case VK_BACK:
         if (keyboardEvent.shiftKey())
-            m_page->goForward();
+            m_page->backForward().goForward();
         else
-            m_page->goBack();
+            m_page->backForward().goBack();
         break;
     case VK_SPACE:
         scroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollUp : ScrollDown, ScrollByPage);