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

Side by Side Diff: cc/input/input_handler.h

Issue 15651006: cc: Disable LastInputEventForBeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@nobfafteri
Patch Set: Remove HandleInputEventInternal Created 7 years, 6 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
« no previous file with comments | « no previous file | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_INPUT_INPUT_HANDLER_H_ 5 #ifndef CC_INPUT_INPUT_HANDLER_H_
6 #define CC_INPUT_INPUT_HANDLER_H_ 6 #define CC_INPUT_INPUT_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bool anchor_point, 111 bool anchor_point,
112 float page_scale, 112 float page_scale,
113 base::TimeTicks start_time, 113 base::TimeTicks start_time,
114 base::TimeDelta duration) = 0; 114 base::TimeDelta duration) = 0;
115 115
116 // Request another callback to InputHandlerClient::Animate(). 116 // Request another callback to InputHandlerClient::Animate().
117 virtual void ScheduleAnimation() = 0; 117 virtual void ScheduleAnimation() = 0;
118 118
119 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_point) = 0; 119 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_point) = 0;
120 120
121 virtual void DidReceiveLastInputEventForBeginFrame(
122 base::TimeTicks frame_time) = 0;
123
124 protected: 121 protected:
125 InputHandler() {} 122 InputHandler() {}
126 virtual ~InputHandler() {} 123 virtual ~InputHandler() {}
127 124
128 private: 125 private:
129 DISALLOW_COPY_AND_ASSIGN(InputHandler); 126 DISALLOW_COPY_AND_ASSIGN(InputHandler);
130 }; 127 };
131 128
132 } // namespace cc 129 } // namespace cc
133 130
134 #endif // CC_INPUT_INPUT_HANDLER_H_ 131 #endif // CC_INPUT_INPUT_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698