| 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 CCInputHandler_h | 5 #ifndef CCInputHandler_h |
| 6 #define CCInputHandler_h | 6 #define CCInputHandler_h |
| 7 | 7 |
| 8 #include <wtf/Noncopyable.h> | 8 #include <wtf/Noncopyable.h> |
| 9 #include <wtf/PassOwnPtr.h> | 9 #include <wtf/PassOwnPtr.h> |
| 10 | 10 |
| 11 namespace WebCore { | 11 namespace cc { |
| 12 | 12 |
| 13 class IntPoint; | 13 class IntPoint; |
| 14 class IntSize; | 14 class IntSize; |
| 15 | 15 |
| 16 // The CCInputHandler is a way for the embedders to interact with | 16 // The CCInputHandler is a way for the embedders to interact with |
| 17 // the impl thread side of the compositor implementation. | 17 // the impl thread side of the compositor implementation. |
| 18 // | 18 // |
| 19 // There is one CCInputHandler for every CCLayerTreeHost. It is | 19 // There is one CCInputHandler for every CCLayerTreeHost. It is |
| 20 // created on the main thread and used only on the impl thread. | 20 // created on the main thread and used only on the impl thread. |
| 21 // | 21 // |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 virtual void bindToClient(CCInputHandlerClient*) = 0; | 70 virtual void bindToClient(CCInputHandlerClient*) = 0; |
| 71 virtual void animate(double monotonicTime) = 0; | 71 virtual void animate(double monotonicTime) = 0; |
| 72 | 72 |
| 73 protected: | 73 protected: |
| 74 CCInputHandler() { } | 74 CCInputHandler() { } |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } | 77 } |
| 78 | 78 |
| 79 #endif | 79 #endif |
| OLD | NEW |