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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GESTURE_EVENT_QUEUE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <deque> 10 #include <deque>
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "content/browser/renderer_host/event_with_latency_info.h" 15 #include "content/browser/renderer_host/event_with_latency_info.h"
16 #include "content/browser/renderer_host/input/tap_suppression_controller.h" 16 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h" 17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h"
18 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro ller.h" 18 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro ller.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/common/input/input_event_ack_state.h" 20 #include "content/common/input/input_event_ack_state.h"
21 #include "third_party/WebKit/public/web/WebInputEvent.h" 21 #include "third_party/WebKit/public/web/WebInputEvent.h"
22 #include "ui/gfx/transform.h" 22 #include "ui/gfx/transform.h"
23 23
24 namespace content { 24 namespace content {
25 class GestureEventQueueTest; 25 class GestureEventQueueTest;
26 class InputRouter;
27 class MockRenderWidgetHost; 26 class MockRenderWidgetHost;
28 27
29 // Interface with which the GestureEventQueue can forward gesture events, and 28 // Interface with which the GestureEventQueue can forward gesture events, and
30 // dispatch gesture event responses. 29 // dispatch gesture event responses.
31 class CONTENT_EXPORT GestureEventQueueClient { 30 class CONTENT_EXPORT GestureEventQueueClient {
32 public: 31 public:
33 virtual ~GestureEventQueueClient() {} 32 virtual ~GestureEventQueueClient() {}
34 33
35 virtual void SendGestureEventImmediately( 34 virtual void SendGestureEventImmediately(
36 const GestureEventWithLatencyInfo& event) = 0; 35 const GestureEventWithLatencyInfo& event) = 0;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Time window in which to debounce scroll/fling ends. Note that an interval 203 // Time window in which to debounce scroll/fling ends. Note that an interval
205 // of zero effectively disables debouncing. 204 // of zero effectively disables debouncing.
206 base::TimeDelta debounce_interval_; 205 base::TimeDelta debounce_interval_;
207 206
208 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue); 207 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue);
209 }; 208 };
210 209
211 } // namespace content 210 } // namespace content
212 211
213 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ 212 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.h ('k') | content/browser/renderer_host/input/input_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698