Index: content/browser/renderer_host/ui_events_helper.h |
diff --git a/content/browser/renderer_host/ui_events_helper.h b/content/browser/renderer_host/ui_events_helper.h |
index 032ef3e96943a3a90cd94a5e9655417bc67680bf..c43cb29e3d7ea9929ad7a21b00c7e220b93e7787 100644 |
--- a/content/browser/renderer_host/ui_events_helper.h |
+++ b/content/browser/renderer_host/ui_events_helper.h |
@@ -10,6 +10,7 @@ |
namespace WebKit { |
class WebTouchEvent; |
+class WebTouchPoint; |
} |
namespace ui { |
@@ -26,6 +27,15 @@ namespace content { |
CONTENT_EXPORT bool MakeUITouchEventsFromWebTouchEvents( |
const WebKit::WebTouchEvent& touch, |
ScopedVector<ui::TouchEvent>* list); |
+ |
+int EventFlagsToWebEventModifiers(int flags); |
+ |
+// Updates the WebTouchEvent based on the TouchEvent. It returns the updated |
+// WebTouchPoint contained in the WebTouchEvent, or NULL if no point was |
+// updated. |
+WebKit::WebTouchPoint* UpdateWebTouchEventFromUIEvent( |
+ ui::TouchEvent* event, |
+ WebKit::WebTouchEvent* web_event); |
} |
#endif // CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_ |