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

Unified Diff: cc/input_handler.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: cc/input_handler.h
diff --git a/cc/input_handler.h b/cc/input_handler.h
index 776713497a77d1884ace886d7ceab3e0ce62bc7f..19b51bbf1cdf46d200a14d7e2a6e301197991941 100644
--- a/cc/input_handler.h
+++ b/cc/input_handler.h
@@ -12,15 +12,15 @@ namespace cc {
class IntPoint;
class IntSize;
-// The CCInputHandler is a way for the embedders to interact with
+// The InputHandler is a way for the embedders to interact with
// the impl thread side of the compositor implementation.
//
-// There is one CCInputHandler for every CCLayerTreeHost. It is
+// There is one InputHandler for every LayerTreeHost. It is
// created on the main thread and used only on the impl thread.
//
-// The CCInputHandler is constructed with a CCInputHandlerClient, which is the
+// The InputHandler is constructed with a InputHandlerClient, which is the
// interface by which the handler can manipulate the LayerTree.
-class CCInputHandlerClient {
+class InputHandlerClient {
public:
enum ScrollStatus { ScrollOnMainThread, ScrollStarted, ScrollIgnored };
enum ScrollInputType { Gesture, Wheel };
@@ -52,29 +52,29 @@ public:
double startTime,
double duration) = 0;
- // Request another callback to CCInputHandler::animate().
+ // Request another callback to InputHandler::animate().
virtual void scheduleAnimation() = 0;
protected:
- CCInputHandlerClient() { }
- virtual ~CCInputHandlerClient() { }
+ InputHandlerClient() { }
+ virtual ~InputHandlerClient() { }
private:
- DISALLOW_COPY_AND_ASSIGN(CCInputHandlerClient);
+ DISALLOW_COPY_AND_ASSIGN(InputHandlerClient);
};
-class CCInputHandler {
+class InputHandler {
public:
- virtual ~CCInputHandler() { }
+ virtual ~InputHandler() { }
- virtual void bindToClient(CCInputHandlerClient*) = 0;
+ virtual void bindToClient(InputHandlerClient*) = 0;
virtual void animate(double monotonicTime) = 0;
protected:
- CCInputHandler() { }
+ InputHandler() { }
private:
- DISALLOW_COPY_AND_ASSIGN(CCInputHandler);
+ DISALLOW_COPY_AND_ASSIGN(InputHandler);
};
}
« cc/active_animation.h ('K') | « cc/image_layer.cc ('k') | cc/io_surface_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698