Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: content/browser/renderer_host/web_input_event_aura.h

Issue 10831240: Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge-tot Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
10 10
11 namespace ui { 11 namespace ui {
12 class GestureEventImpl; 12 class GestureEventImpl;
13 class KeyEvent; 13 class KeyEvent;
14 class MouseEvent; 14 class MouseEvent;
15 class ScrollEvent; 15 class ScrollEvent;
16 class TouchEventImpl; 16 class TouchEvent;
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 20
21 CONTENT_EXPORT WebKit::WebMouseEvent MakeWebMouseEvent( 21 CONTENT_EXPORT WebKit::WebMouseEvent MakeWebMouseEvent(
22 ui::MouseEvent* event); 22 ui::MouseEvent* event);
23 CONTENT_EXPORT WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent( 23 CONTENT_EXPORT WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent(
24 ui::MouseEvent* event); 24 ui::MouseEvent* event);
25 CONTENT_EXPORT WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent( 25 CONTENT_EXPORT WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent(
26 ui::ScrollEvent* event); 26 ui::ScrollEvent* event);
27 CONTENT_EXPORT WebKit::WebKeyboardEvent MakeWebKeyboardEvent( 27 CONTENT_EXPORT WebKit::WebKeyboardEvent MakeWebKeyboardEvent(
28 ui::KeyEvent* event); 28 ui::KeyEvent* event);
29 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEvent( 29 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEvent(
30 ui::GestureEventImpl* event); 30 ui::GestureEventImpl* event);
31 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEvent( 31 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEvent(
32 ui::ScrollEvent* event); 32 ui::ScrollEvent* event);
33 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEventFlingCancel(); 33 CONTENT_EXPORT WebKit::WebGestureEvent MakeWebGestureEventFlingCancel();
34 34
35 // Updates the WebTouchEvent based on the TouchEvent. It returns the updated 35 // Updates the WebTouchEvent based on the TouchEvent. It returns the updated
36 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was 36 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was
37 // updated. 37 // updated.
38 WebKit::WebTouchPoint* UpdateWebTouchEvent(ui::TouchEventImpl* event, 38 WebKit::WebTouchPoint* UpdateWebTouchEvent(ui::TouchEvent* event,
39 WebKit::WebTouchEvent* web_event); 39 WebKit::WebTouchEvent* web_event);
40 40
41 } 41 }
42 42
43 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ 43 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/browser/renderer_host/web_input_event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698