OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |
| 6 #define SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "sky/services/viewport/input_event.mojom.h" |
| 10 |
| 11 namespace blink { |
| 12 class WebInputEvent; |
| 13 } |
| 14 |
| 15 namespace sky { |
| 16 |
| 17 scoped_ptr<blink::WebInputEvent> ConvertEvent(const InputEventPtr& event, |
| 18 float device_pixel_ratio); |
| 19 } |
| 20 |
| 21 #endif // SKY_SHELL_UI_INPUT_EVENT_CONVERTER_H_ |
OLD | NEW |