Index: sky/shell/ui/input_event_converter.h |
diff --git a/sky/shell/ui/input_event_converter.h b/sky/shell/ui/input_event_converter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..05a797f0a1a8651aae6a3d08788021b901a88ba7 |
--- /dev/null |
+++ b/sky/shell/ui/input_event_converter.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |
+#define SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+#include "sky/services/viewport/input_event.mojom.h" |
+ |
+namespace blink { |
+class WebInputEvent; |
+} |
+ |
+namespace sky { |
+ |
+scoped_ptr<blink::WebInputEvent> ConvertEvent(const InputEventPtr& event, |
+ float device_pixel_ratio); |
+} |
+ |
+#endif // SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |