OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
11 | 10 |
12 namespace aura { | 11 namespace aura { |
13 class GestureEvent; | 12 class GestureEvent; |
14 class KeyEvent; | 13 class KeyEvent; |
15 class MouseEvent; | 14 class MouseEvent; |
16 class ScrollEvent; | 15 class ScrollEvent; |
17 class TouchEvent; | 16 class TouchEvent; |
(...skipping 17 matching lines...) Expand all Loading... |
35 | 34 |
36 // Updates the WebTouchEvent based on the TouchEvent. It returns the updated | 35 // Updates the WebTouchEvent based on the TouchEvent. It returns the updated |
37 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was | 36 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was |
38 // updated. | 37 // updated. |
39 WebKit::WebTouchPoint* UpdateWebTouchEvent(aura::TouchEvent* event, | 38 WebKit::WebTouchPoint* UpdateWebTouchEvent(aura::TouchEvent* event, |
40 WebKit::WebTouchEvent* web_event); | 39 WebKit::WebTouchEvent* web_event); |
41 | 40 |
42 } | 41 } |
43 | 42 |
44 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ | 43 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ |
OLD | NEW |