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

Side by Side Diff: content/renderer/input/input_handler_manager.h

Issue 2725263002: Revert of Fix unit tests to enable them testing with the rAF aligned touch input. (Closed)
Patch Set: Created 3 years, 9 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 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_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
7 7
8 #include <unordered_map> 8 #include <unordered_map>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Called from the compositor's thread. 97 // Called from the compositor's thread.
98 void DidOverscroll(int routing_id, const ui::DidOverscrollParams& params); 98 void DidOverscroll(int routing_id, const ui::DidOverscrollParams& params);
99 99
100 // Called from the compositor's thread. 100 // Called from the compositor's thread.
101 void DidStopFlinging(int routing_id); 101 void DidStopFlinging(int routing_id);
102 102
103 // Called from the compositor's thread. 103 // Called from the compositor's thread.
104 void DidAnimateForInput(); 104 void DidAnimateForInput();
105 105
106 // Called from the compositor's thread. 106 // Called from the compositor's thread.
107 virtual void NeedsMainFrame(int routing_id); 107 void NeedsMainFrame(int routing_id);
108 108
109 // Called from the compositor's thread. 109 // Called from the compositor's thread.
110 void DispatchNonBlockingEventToMainThread( 110 void DispatchNonBlockingEventToMainThread(
111 int routing_id, 111 int routing_id,
112 ui::WebScopedInputEvent event, 112 ui::WebScopedInputEvent event,
113 const ui::LatencyInfo& latency_info); 113 const ui::LatencyInfo& latency_info);
114 114
115 private: 115 private:
116 // Called from the compositor's thread. 116 // Called from the compositor's thread.
117 void AddInputHandlerOnCompositorThread( 117 void AddInputHandlerOnCompositorThread(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // May be null. 151 // May be null.
152 SynchronousInputHandlerProxyClient* const synchronous_handler_proxy_client_; 152 SynchronousInputHandlerProxyClient* const synchronous_handler_proxy_client_;
153 blink::scheduler::RendererScheduler* const renderer_scheduler_; // Not owned. 153 blink::scheduler::RendererScheduler* const renderer_scheduler_; // Not owned.
154 154
155 base::WeakPtrFactory<InputHandlerManager> weak_ptr_factory_; 155 base::WeakPtrFactory<InputHandlerManager> weak_ptr_factory_;
156 }; 156 };
157 157
158 } // namespace content 158 } // namespace content
159 159
160 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 160 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_event_filter_unittest.cc ('k') | content/renderer/input/main_thread_event_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698