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

Side by Side Diff: content/browser/renderer_host/input/input_router_client.h

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_INPUT_INPUT_ROUTER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_
7 7
8 #include "content/browser/renderer_host/event_with_latency_info.h" 8 #include "content/browser/renderer_host/event_with_latency_info.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/input/input_event_ack_source.h" 10 #include "content/common/input/input_event_ack_source.h"
11 #include "content/common/input/input_event_ack_state.h" 11 #include "content/common/input/input_event_ack_state.h"
12 #include "content/public/browser/native_web_keyboard_event.h" 12 #include "content/public/browser/native_web_keyboard_event.h"
13 #include "third_party/WebKit/public/web/WebInputEvent.h" 13 #include "third_party/WebKit/public/platform/WebInputEvent.h"
14 14
15 namespace ui { 15 namespace ui {
16 class LatencyInfo; 16 class LatencyInfo;
17 struct DidOverscrollParams; 17 struct DidOverscrollParams;
18 } 18 }
19 19
20 namespace content { 20 namespace content {
21 21
22 class CONTENT_EXPORT InputRouterClient { 22 class CONTENT_EXPORT InputRouterClient {
23 public: 23 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // client will do some processing on |gesture_event| and then send it back 58 // client will do some processing on |gesture_event| and then send it back
59 // to the InputRouter via SendGestureEvent. 59 // to the InputRouter via SendGestureEvent.
60 virtual void ForwardGestureEventWithLatencyInfo( 60 virtual void ForwardGestureEventWithLatencyInfo(
61 const blink::WebGestureEvent& gesture_event, 61 const blink::WebGestureEvent& gesture_event,
62 const ui::LatencyInfo& latency_info) = 0; 62 const ui::LatencyInfo& latency_info) = 0;
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ 67 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698