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

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

Issue 15720007: Move InputEventAckState from port to public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
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_TOUCH_EVENT_QUEUE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TOUCH_EVENT_QUEUE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TOUCH_EVENT_QUEUE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TOUCH_EVENT_QUEUE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/port/common/input_event_ack_state.h" 13 #include "content/public/common/input_event_ack_state.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class CoalescedWebTouchEvent; 18 class CoalescedWebTouchEvent;
19 class MockRenderWidgetHost; 19 class MockRenderWidgetHost;
20 class RenderWidgetHostImpl; 20 class RenderWidgetHostImpl;
21 21
22 // A queue for throttling and coalescing touch-events. 22 // A queue for throttling and coalescing touch-events.
23 class TouchEventQueue { 23 class TouchEventQueue {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Maintain the ACK status for each touch point. 70 // Maintain the ACK status for each touch point.
71 typedef std::map<int, InputEventAckState> TouchPointAckStates; 71 typedef std::map<int, InputEventAckState> TouchPointAckStates;
72 TouchPointAckStates touch_ack_states_; 72 TouchPointAckStates touch_ack_states_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue); 74 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_BROWSER_RENDERER_HOST_TOUCH_EVENT_QUEUE_H_ 79 #endif // CONTENT_BROWSER_RENDERER_HOST_TOUCH_EVENT_QUEUE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698