From 9a1a09bf82ea98a2b69b351120619c787ce990a8 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Thu, 20 Mar 2014 16:05:49 +0100 Subject: Adapt to API changes in new stable branch 1750 Change-Id: If0cc263f36d396fd505c1d8b026e2493bfc29cc4 Reviewed-by: Pierre Rossi Reviewed-by: Zeno Albisser --- src/core/web_event_factory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/web_event_factory.cpp') diff --git a/src/core/web_event_factory.cpp b/src/core/web_event_factory.cpp index febad0a3a..544ac83f6 100644 --- a/src/core/web_event_factory.cpp +++ b/src/core/web_event_factory.cpp @@ -41,7 +41,7 @@ ****************************************************************************/ #include "web_event_factory.h" -#include "third_party/WebKit/Source/core/platform/WindowsKeyboardCodes.h" +#include "third_party/WebKit/Source/platform/WindowsKeyboardCodes.h" #include #include @@ -50,7 +50,7 @@ static const int wheelScrollLines = 3; // FIXME: Still not available in QStyleHints in 5.1 -using namespace WebKit; +using namespace blink; static int windowsKeyCodeForKeyEvent(unsigned int keycode, bool isKeypad) { @@ -558,7 +558,7 @@ WebMouseEvent WebEventFactory::toWebMouseEvent(QHoverEvent *ev, double dpiScale) return webKitEvent; } -WebKit::WebMouseWheelEvent WebEventFactory::toWebWheelEvent(QWheelEvent *ev, double dpiScale) +blink::WebMouseWheelEvent WebEventFactory::toWebWheelEvent(QWheelEvent *ev, double dpiScale) { WebMouseWheelEvent webEvent; webEvent.type = webEventTypeForEvent(ev); -- cgit v1.2.3