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

Unified Diff: content/common/input/gesture_event_stream_validator.cc

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and ncarter's review 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 | « content/common/input/event_with_latency_info.cc ('k') | content/common/input/input_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/gesture_event_stream_validator.cc
diff --git a/content/common/input/gesture_event_stream_validator.cc b/content/common/input/gesture_event_stream_validator.cc
index 9bdea8a481fe9bc7e8d1b91040b856e634ffa85c..1afb23e87fc8f4028a1b24cd54f00ab664708842 100644
--- a/content/common/input/gesture_event_stream_validator.cc
+++ b/content/common/input/gesture_event_stream_validator.cc
@@ -6,8 +6,8 @@
#include "base/logging.h"
#include "base/strings/stringprintf.h"
-#include "content/common/input/web_input_event_traits.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "ui/events/blink/web_input_event_traits.h"
using blink::WebInputEvent;
@@ -25,8 +25,9 @@ bool GestureEventStreamValidator::Validate(const blink::WebGestureEvent& event,
DCHECK(error_msg);
error_msg->clear();
if (!WebInputEvent::isGestureEventType(event.type)) {
- error_msg->append(base::StringPrintf(
- "Invalid gesture type: %s", WebInputEventTraits::GetName(event.type)));
+ error_msg->append(
+ base::StringPrintf("Invalid gesture type: %s",
+ ui::WebInputEventTraits::GetName(event.type)));
}
switch (event.type) {
case WebInputEvent::GestureScrollBegin:
« no previous file with comments | « content/common/input/event_with_latency_info.cc ('k') | content/common/input/input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698