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