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_TREES_PROXY_H_ | 5 #ifndef CC_TREES_PROXY_H_ |
6 #define CC_TREES_PROXY_H_ | 6 #define CC_TREES_PROXY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual void Stop() = 0; | 66 virtual void Stop() = 0; |
67 | 67 |
68 virtual void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) = 0; | 68 virtual void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) = 0; |
69 | 69 |
70 virtual bool SupportsImplScrolling() const = 0; | 70 virtual bool SupportsImplScrolling() const = 0; |
71 | 71 |
72 virtual void UpdateBrowserControlsState(BrowserControlsState constraints, | 72 virtual void UpdateBrowserControlsState(BrowserControlsState constraints, |
73 BrowserControlsState current, | 73 BrowserControlsState current, |
74 bool animate) = 0; | 74 bool animate) = 0; |
75 | 75 |
| 76 virtual void ResetTrees() = 0; |
| 77 |
76 // Testing hooks | 78 // Testing hooks |
77 virtual bool MainFrameWillHappenForTesting() = 0; | 79 virtual bool MainFrameWillHappenForTesting() = 0; |
78 }; | 80 }; |
79 | 81 |
80 } // namespace cc | 82 } // namespace cc |
81 | 83 |
82 #endif // CC_TREES_PROXY_H_ | 84 #endif // CC_TREES_PROXY_H_ |
OLD | NEW |