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

Unified Diff: content/common/input/synthetic_web_input_event_builders.h

Issue 304793003: use enum to specify deviceSource for fling animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased for parallel breaking changes Created 6 years, 7 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/common/input/synthetic_web_input_event_builders.h
diff --git a/content/common/input/synthetic_web_input_event_builders.h b/content/common/input/synthetic_web_input_event_builders.h
index 33442519005696f4789e9328c74a9020194a45cf..f16830d2cba00819029df74c7b7aa1c2fc651002 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -39,9 +39,8 @@ class CONTENT_EXPORT SyntheticWebKeyboardEventBuilder {
class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
public:
- static blink::WebGestureEvent Build(
- blink::WebInputEvent::Type type,
- blink::WebGestureEvent::SourceDevice source_device);
+ static blink::WebGestureEvent Build(blink::WebInputEvent::Type type,
+ blink::WebGestureDevice source_device);
static blink::WebGestureEvent BuildScrollBegin(float dx_hint,
float dy_hint);
static blink::WebGestureEvent BuildScrollUpdate(float dx,
@@ -52,11 +51,11 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
float anchor_x,
float anchor_y,
int modifiers,
- blink::WebGestureEvent::SourceDevice source_device);
+ blink::WebGestureDevice source_device);
static blink::WebGestureEvent BuildFling(
float velocity_x,
float velocity_y,
- blink::WebGestureEvent::SourceDevice source_device);
+ blink::WebGestureDevice source_device);
};
class CONTENT_EXPORT SyntheticWebTouchEvent
« no previous file with comments | « content/common/input/input_event_stream_validator.cc ('k') | content/common/input/synthetic_web_input_event_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698