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

Unified Diff: ui/events/blink/blink_event_util.h

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « ui/events/blink/DEPS ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/blink_event_util.h
diff --git a/ui/events/blink/blink_event_util.h b/ui/events/blink/blink_event_util.h
index 76f1975f7930a9e4223e7762f8ee8bfef34673a2..aa12f9d1dd9132985e7ecf6aeab5964efb5205ae 100644
--- a/ui/events/blink/blink_event_util.h
+++ b/ui/events/blink/blink_event_util.h
@@ -7,7 +7,7 @@
#include <memory>
-#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "ui/events/gesture_detection/motion_event.h"
namespace base {
@@ -25,6 +25,7 @@ class PointF;
}
namespace ui {
+enum class DomCode;
struct GestureEventData;
struct GestureEventDetails;
class MotionEvent;
@@ -53,6 +54,11 @@ std::unique_ptr<blink::WebInputEvent> ScaleWebInputEvent(
blink::WebPointerProperties::PointerType ToWebPointerType(
MotionEvent::ToolType tool_type);
+int WebEventModifiersToEventFlags(int modifiers);
+
+blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers(
+ ui::DomCode code);
+
} // namespace ui
#endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
« no previous file with comments | « ui/events/blink/DEPS ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698