Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / common / input / synthetic_web_input_event_builders.h
index 3bf3019..3344251 100644 (file)
@@ -17,9 +17,9 @@ class CONTENT_EXPORT SyntheticWebMouseEventBuilder {
  public:
   static blink::WebMouseEvent Build(blink::WebInputEvent::Type type);
   static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
-                                     int window_x,
-                                     int window_y,
-                                     int modifiers);
+                                    int window_x,
+                                    int window_y,
+                                    int modifiers);
 };
 
 class CONTENT_EXPORT SyntheticWebMouseWheelEventBuilder {
@@ -27,9 +27,9 @@ class CONTENT_EXPORT SyntheticWebMouseWheelEventBuilder {
   static blink::WebMouseWheelEvent Build(
       blink::WebMouseWheelEvent::Phase phase);
   static blink::WebMouseWheelEvent Build(float dx,
-                                          float dy,
-                                          int modifiers,
-                                          bool precise);
+                                         float dy,
+                                         int modifiers,
+                                         bool precise);
 };
 
 class CONTENT_EXPORT SyntheticWebKeyboardEventBuilder {
@@ -41,16 +41,18 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
  public:
   static blink::WebGestureEvent Build(
       blink::WebInputEvent::Type type,
-      blink::WebGestureEvent::SourceDevice sourceDevice);
+      blink::WebGestureEvent::SourceDevice source_device);
   static blink::WebGestureEvent BuildScrollBegin(float dx_hint,
-                                                  float dy_hint);
+                                                 float dy_hint);
   static blink::WebGestureEvent BuildScrollUpdate(float dx,
-                                                   float dy,
-                                                   int modifiers);
-  static blink::WebGestureEvent BuildPinchUpdate(float scale,
-                                                  float anchor_x,
-                                                  float anchor_y,
+                                                  float dy,
                                                   int modifiers);
+  static blink::WebGestureEvent BuildPinchUpdate(
+      float scale,
+      float anchor_x,
+      float anchor_y,
+      int modifiers,
+      blink::WebGestureEvent::SourceDevice source_device);
   static blink::WebGestureEvent BuildFling(
       float velocity_x,
       float velocity_y,
@@ -74,11 +76,6 @@ class CONTENT_EXPORT SyntheticWebTouchEvent
   void SetTimestamp(base::TimeDelta timestamp);
 };
 
-class CONTENT_EXPORT SyntheticWebTouchEventBuilder {
- public:
-  static SyntheticWebTouchEvent Build(blink::WebInputEvent::Type type);
-};
-
 }  // namespace content
 
 #endif  // CONTENT_COMMON_INPUT_SYNTHETIC_WEB_INPUT_EVENT_BUILDERS_H_