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

Unified Diff: content/browser/renderer_host/input/motion_event_web.cc

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
Index: content/browser/renderer_host/input/motion_event_web.cc
diff --git a/content/browser/renderer_host/input/motion_event_web.cc b/content/browser/renderer_host/input/motion_event_web.cc
index 13dd027fa4054acc24322ef118ae276aafe8e4b0..2fccea6133a3f7437bda08dbed24f44f511aa5f7 100644
--- a/content/browser/renderer_host/input/motion_event_web.cc
+++ b/content/browser/renderer_host/input/motion_event_web.cc
@@ -10,8 +10,8 @@
#include <cmath>
#include "base/logging.h"
-#include "content/browser/renderer_host/input/web_input_event_util.h"
#include "content/common/input/web_touch_event_traits.h"
+#include "ui/events/blink/blink_event_util.h"
using blink::WebInputEvent;
using blink::WebPointerProperties;
@@ -217,7 +217,7 @@ int MotionEventWeb::GetButtonState() const {
}
int MotionEventWeb::GetFlags() const {
- return WebEventModifiersToEventFlags(event_.modifiers);
+ return ui::WebEventModifiersToEventFlags(event_.modifiers);
}
} // namespace content
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/input/touch_emulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698