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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 2290313002: Remove PlatformKeyboardEvent (Closed)
Patch Set: One more fix Created 4 years, 4 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/input/EventHandler.h
diff --git a/third_party/WebKit/Source/core/input/EventHandler.h b/third_party/WebKit/Source/core/input/EventHandler.h
index c22bd7d9b14447ad6d26e138d5e02b5477063084..972a107b2fe7cf72ee3f4cf1b955420b85bfbe7e 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.h
+++ b/third_party/WebKit/Source/core/input/EventHandler.h
@@ -44,6 +44,7 @@
#include "platform/geometry/LayoutPoint.h"
#include "platform/heap/Handle.h"
#include "platform/scroll/ScrollTypes.h"
+#include "public/platform/WebInputEvent.h"
#include "public/platform/WebInputEventResult.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
@@ -72,7 +73,6 @@ class LocalFrame;
class Node;
class OptionalCursor;
class PlatformGestureEvent;
-class PlatformKeyboardEvent;
class PlatformTouchEvent;
class PlatformWheelEvent;
class ScrollableArea;
@@ -196,8 +196,8 @@ public:
static WebInputEventResult mergeEventResult(WebInputEventResult resultA, WebInputEventResult resultB);
static WebInputEventResult toWebInputEventResult(DispatchEventResult);
- bool handleAccessKey(const PlatformKeyboardEvent&);
- WebInputEventResult keyEvent(const PlatformKeyboardEvent&);
+ bool handleAccessKey(const WebKeyboardEvent&);
+ WebInputEventResult keyEvent(const WebKeyboardEvent&);
void defaultKeyboardEventHandler(KeyboardEvent*);
bool handleTextInputEvent(const String& text, Event* underlyingEvent = nullptr, TextEventInputType = TextEventInputKeyboard);

Powered by Google App Engine
This is Rietveld 408576698