| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 5 #ifndef CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
| 6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void SetNeedsCommit() override; | 71 void SetNeedsCommit() override; |
| 72 void SetNeedsRecalculateRasterScales() override; | 72 void SetNeedsRecalculateRasterScales() override; |
| 73 bool BeginMainFrameRequested() const override; | 73 bool BeginMainFrameRequested() const override; |
| 74 bool CommitRequested() const override; | 74 bool CommitRequested() const override; |
| 75 void SetDeferCommits(bool defer_commits) override; | 75 void SetDeferCommits(bool defer_commits) override; |
| 76 void LayoutAndUpdateLayers() override; | 76 void LayoutAndUpdateLayers() override; |
| 77 void Composite(base::TimeTicks frame_begin_time) override; | 77 void Composite(base::TimeTicks frame_begin_time) override; |
| 78 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override; | 78 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override; |
| 79 void SetNextCommitForcesRedraw() override; | 79 void SetNextCommitForcesRedraw() override; |
| 80 void NotifyInputThrottledUntilCommit() override; | 80 void NotifyInputThrottledUntilCommit() override; |
| 81 void UpdateTopControlsState(TopControlsState constraints, | 81 void UpdateTopControlsState(BrowserControlsState constraints, |
| 82 TopControlsState current, | 82 BrowserControlsState current, |
| 83 bool animate) override; | 83 bool animate) override; |
| 84 const base::WeakPtr<InputHandler>& GetInputHandler() const override; | 84 const base::WeakPtr<InputHandler>& GetInputHandler() const override; |
| 85 void DidStopFlinging() override; | 85 void DidStopFlinging() override; |
| 86 void SetDebugState(const LayerTreeDebugState& debug_state) override; | 86 void SetDebugState(const LayerTreeDebugState& debug_state) override; |
| 87 const LayerTreeDebugState& GetDebugState() const override; | 87 const LayerTreeDebugState& GetDebugState() const override; |
| 88 int ScheduleMicroBenchmark( | 88 int ScheduleMicroBenchmark( |
| 89 const std::string& benchmark_name, | 89 const std::string& benchmark_name, |
| 90 std::unique_ptr<base::Value> value, | 90 std::unique_ptr<base::Value> value, |
| 91 const MicroBenchmark::DoneCallback& callback) override; | 91 const MicroBenchmark::DoneCallback& callback) override; |
| 92 bool SendMessageToMicroBenchmark(int id, | 92 bool SendMessageToMicroBenchmark(int id, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 SurfaceSequenceGenerator surface_sequence_generator_; | 172 SurfaceSequenceGenerator surface_sequence_generator_; |
| 173 | 173 |
| 174 base::WeakPtr<InputHandler> input_handler_weak_ptr_; | 174 base::WeakPtr<InputHandler> input_handler_weak_ptr_; |
| 175 | 175 |
| 176 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_; | 176 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_; |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace cc | 179 } // namespace cc |
| 180 | 180 |
| 181 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ | 181 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ |
| OLD | NEW |