diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 20:58:10 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 20:58:10 +0000 |
commit | 184fac5add06d5f4670fa6be4a4d3b39232d51bb (patch) | |
tree | 7efc1d20146fcafdbe408fa67292117c41e9393f /cc/input_handler.h | |
parent | fb7ffba75e81a79436434bab0715be0d6e67bc07 (diff) | |
download | chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.zip chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.gz chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.bz2 |
cc: Rename cc classes and members to match filenames
BUG=155413
Review URL: https://codereview.chromium.org/11189043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/input_handler.h')
-rw-r--r-- | cc/input_handler.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cc/input_handler.h b/cc/input_handler.h index ab525c9..0e1e44c 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 }; @@ -55,29 +55,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); }; } |