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

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

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « no previous file | cc/output/output_surface.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 DidReceiveLastInputEventForVSync( 121 virtual void DidReceiveLastInputEventForBeginFrame(
122 base::TimeTicks frame_time) = 0; 122 base::TimeTicks frame_time) = 0;
123 123
124 protected: 124 protected:
125 InputHandler() {} 125 InputHandler() {}
126 virtual ~InputHandler() {} 126 virtual ~InputHandler() {}
127 127
128 private: 128 private:
129 DISALLOW_COPY_AND_ASSIGN(InputHandler); 129 DISALLOW_COPY_AND_ASSIGN(InputHandler);
130 }; 130 };
131 131
132 } // namespace cc 132 } // namespace cc
133 133
134 #endif // CC_INPUT_INPUT_HANDLER_H_ 134 #endif // CC_INPUT_INPUT_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698