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

Unified Diff: third_party/WebKit/Source/web/WebInputEventConversion.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/web/WebInputEventConversion.h
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.h b/third_party/WebKit/Source/web/WebInputEventConversion.h
index 314452e108f1b948b75a3a32fd164d420fc5602e..41f5cb5f043bf7dc115d148266b9bfc5a077f8a8 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.h
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.h
@@ -32,7 +32,6 @@
#define WebInputEventConversion_h
#include "platform/PlatformGestureEvent.h"
-#include "platform/PlatformKeyboardEvent.h"
#include "platform/PlatformMouseEvent.h"
#include "platform/PlatformTouchEvent.h"
#include "platform/PlatformWheelEvent.h"
@@ -73,13 +72,6 @@ public:
PlatformGestureEventBuilder(Widget*, const WebGestureEvent&);
};
-class WEB_EXPORT PlatformKeyboardEventBuilder : WTF_NON_EXPORTED_BASE(public PlatformKeyboardEvent) {
-public:
- PlatformKeyboardEventBuilder(const WebKeyboardEvent&);
- void setKeyType(EventType);
- bool isCharacterKey() const;
-};
-
// Converts a WebTouchPoint to a PlatformTouchPoint.
class WEB_EXPORT PlatformTouchPointBuilder : WTF_NON_EXPORTED_BASE(public PlatformTouchPoint) {
public:
@@ -109,8 +101,7 @@ public:
WebMouseWheelEventBuilder(const Widget*, const LayoutItem, const WheelEvent&);
};
-// Converts a KeyboardEvent or PlatformKeyboardEvent to a
-// corresponding WebKeyboardEvent.
+// Converts a KeyboardEvent to a corresponding WebKeyboardEvent.
// NOTE: For KeyboardEvent, this is only implemented for keydown,
// keyup, and keypress. If the event mapping fails, the event type will be set
// to Undefined.

Powered by Google App Engine
This is Rietveld 408576698