| OLD | NEW |
| 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_HANDLER_H_ | 5 #ifndef CC_INPUT_HANDLER_H_ |
| 6 #define CC_INPUT_HANDLER_H_ | 6 #define CC_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/cc_export.h" | 10 #include "cc/cc_export.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 private: | 74 private: |
| 75 DISALLOW_COPY_AND_ASSIGN(InputHandlerClient); | 75 DISALLOW_COPY_AND_ASSIGN(InputHandlerClient); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 class CC_EXPORT InputHandler { | 78 class CC_EXPORT InputHandler { |
| 79 public: | 79 public: |
| 80 virtual ~InputHandler() { } | 80 virtual ~InputHandler() { } |
| 81 | 81 |
| 82 virtual void bindToClient(InputHandlerClient*) = 0; | 82 virtual void bindToClient(InputHandlerClient*) = 0; |
| 83 virtual void animate(base::TimeTicks time) = 0; | 83 virtual void animate(base::TimeTicks time) = 0; |
| 84 virtual void mainThreadHasStoppedFlinging() = 0; |
| 84 | 85 |
| 85 protected: | 86 protected: |
| 86 InputHandler() { } | 87 InputHandler() { } |
| 87 | 88 |
| 88 private: | 89 private: |
| 89 DISALLOW_COPY_AND_ASSIGN(InputHandler); | 90 DISALLOW_COPY_AND_ASSIGN(InputHandler); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } | 93 } |
| 93 | 94 |
| 94 #endif // CC_INPUT_HANDLER_H_ | 95 #endif // CC_INPUT_HANDLER_H_ |
| OLD | NEW |