Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
index eeba23989538d42f54ca8ede6843702a914e4542..9d3964cc8eed1568923ec3c4a8c45e0aa01fd1e7 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
@@ -35,7 +35,6 @@
#include "core/inspector/InspectedFrames.h"
#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
-#include "platform/PlatformEvent.h"
#include "platform/geometry/FloatSize.h"
#include "platform/geometry/IntPoint.h"
#include "platform/geometry/IntRect.h"
@@ -56,13 +55,13 @@ enum Modifiers {
unsigned GetEventModifiers(int modifiers) {
unsigned platformModifiers = 0;
if (modifiers & AltKey)
- platformModifiers |= blink::PlatformEvent::AltKey;
+ platformModifiers |= blink::WebInputEvent::AltKey;
if (modifiers & CtrlKey)
- platformModifiers |= blink::PlatformEvent::CtrlKey;
+ platformModifiers |= blink::WebInputEvent::ControlKey;
if (modifiers & MetaKey)
- platformModifiers |= blink::PlatformEvent::MetaKey;
+ platformModifiers |= blink::WebInputEvent::MetaKey;
if (modifiers & ShiftKey)
- platformModifiers |= blink::PlatformEvent::ShiftKey;
+ platformModifiers |= blink::WebInputEvent::ShiftKey;
return platformModifiers;
}
« no previous file with comments | « third_party/WebKit/Source/core/input/ScrollManager.h ('k') | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698