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

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

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « cc/cc_tests.gyp ('k') | cc/input/scroll_elasticity_helper.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/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 30 matching lines...) Expand all
41 gfx::Vector2dF unused_scroll_delta; 41 gfx::Vector2dF unused_scroll_delta;
42 }; 42 };
43 43
44 class CC_EXPORT InputHandlerClient { 44 class CC_EXPORT InputHandlerClient {
45 public: 45 public:
46 virtual ~InputHandlerClient() {} 46 virtual ~InputHandlerClient() {}
47 47
48 virtual void WillShutdown() = 0; 48 virtual void WillShutdown() = 0;
49 virtual void Animate(base::TimeTicks time) = 0; 49 virtual void Animate(base::TimeTicks time) = 0;
50 virtual void MainThreadHasStoppedFlinging() = 0; 50 virtual void MainThreadHasStoppedFlinging() = 0;
51 virtual void ReconcileElasticOverscrollAndRootScroll() = 0;
51 52
52 protected: 53 protected:
53 InputHandlerClient() {} 54 InputHandlerClient() {}
54 55
55 private: 56 private:
56 DISALLOW_COPY_AND_ASSIGN(InputHandlerClient); 57 DISALLOW_COPY_AND_ASSIGN(InputHandlerClient);
57 }; 58 };
58 59
59 // The InputHandler is a way for the embedders to interact with the impl thread 60 // The InputHandler is a way for the embedders to interact with the impl thread
60 // side of the compositor implementation. There is one InputHandler per 61 // side of the compositor implementation. There is one InputHandler per
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 InputHandler() {} 158 InputHandler() {}
158 virtual ~InputHandler() {} 159 virtual ~InputHandler() {}
159 160
160 private: 161 private:
161 DISALLOW_COPY_AND_ASSIGN(InputHandler); 162 DISALLOW_COPY_AND_ASSIGN(InputHandler);
162 }; 163 };
163 164
164 } // namespace cc 165 } // namespace cc
165 166
166 #endif // CC_INPUT_INPUT_HANDLER_H_ 167 #endif // CC_INPUT_INPUT_HANDLER_H_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/input/scroll_elasticity_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698