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

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

Issue 8377001: aura: Add touch-event support for RWHVA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: windows Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 7 #pragma once
8 8
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 aura { 11 namespace aura {
12 class KeyEvent; 12 class KeyEvent;
13 class MouseEvent; 13 class MouseEvent;
14 class TouchEvent;
14 } 15 }
15 16
16 namespace content { 17 namespace content {
17 18
18 WebKit::WebMouseEvent MakeWebMouseEvent(aura::MouseEvent* event); 19 WebKit::WebMouseEvent MakeWebMouseEvent(aura::MouseEvent* event);
19 WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent(aura::MouseEvent* event); 20 WebKit::WebMouseWheelEvent MakeWebMouseWheelEvent(aura::MouseEvent* event);
20 WebKit::WebKeyboardEvent MakeWebKeyboardEvent(aura::KeyEvent* event); 21 WebKit::WebKeyboardEvent MakeWebKeyboardEvent(aura::KeyEvent* event);
21 22
22 // TODO(beng): WebKit::WebMouseWheelEvent 23 // Updates the WebTouchEvent based on the TouchEvent. It returns the updated
24 // WebTouchPoint contained in the WebTouchEvent, or NULL if no point was
25 // updated.
26 WebKit::WebTouchPoint* UpdateWebTouchEvent(aura::TouchEvent* event,
27 WebKit::WebTouchEvent* web_event);
28
23 29
24 } 30 }
25 31
26 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ 32 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698