OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TEST_FAKE_PROXY_H_ | 5 #ifndef CC_TEST_FAKE_PROXY_H_ |
6 #define CC_TEST_FAKE_PROXY_H_ | 6 #define CC_TEST_FAKE_PROXY_H_ |
7 | 7 |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "cc/trees/layer_tree_host.h" | 9 #include "cc/trees/layer_tree_host.h" |
10 #include "cc/trees/proxy.h" | 10 #include "cc/trees/proxy.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 void MainThreadHasStoppedFlinging() override {} | 33 void MainThreadHasStoppedFlinging() override {} |
34 bool CommitRequested() const override; | 34 bool CommitRequested() const override; |
35 void Start() override {} | 35 void Start() override {} |
36 void Stop() override {} | 36 void Stop() override {} |
37 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; | 37 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
38 bool SupportsImplScrolling() const override; | 38 bool SupportsImplScrolling() const override; |
39 bool MainFrameWillHappenForTesting() override; | 39 bool MainFrameWillHappenForTesting() override; |
40 void UpdateBrowserControlsState(BrowserControlsState constraints, | 40 void UpdateBrowserControlsState(BrowserControlsState constraints, |
41 BrowserControlsState current, | 41 BrowserControlsState current, |
42 bool animate) override {} | 42 bool animate) override {} |
| 43 void ResetTrees() override {} |
43 | 44 |
44 private: | 45 private: |
45 LayerTreeHost* layer_tree_host_; | 46 LayerTreeHost* layer_tree_host_; |
46 }; | 47 }; |
47 | 48 |
48 } // namespace cc | 49 } // namespace cc |
49 | 50 |
50 #endif // CC_TEST_FAKE_PROXY_H_ | 51 #endif // CC_TEST_FAKE_PROXY_H_ |
OLD | NEW |