Chromium Code Reviews| 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 25 matching lines...) Expand all Loading... | |
| 36 virtual bool CommitToActiveTree() const = 0; | 36 virtual bool CommitToActiveTree() const = 0; |
| 37 | 37 |
| 38 // Will call LayerTreeHost::OnCreateAndInitializeCompositorFrameSinkAttempted | 38 // Will call LayerTreeHost::OnCreateAndInitializeCompositorFrameSinkAttempted |
| 39 // with the result of this function. | 39 // with the result of this function. |
| 40 virtual void SetCompositorFrameSink( | 40 virtual void SetCompositorFrameSink( |
| 41 CompositorFrameSink* compositor_frame_sink) = 0; | 41 CompositorFrameSink* compositor_frame_sink) = 0; |
| 42 | 42 |
| 43 virtual void ReleaseCompositorFrameSink() = 0; | 43 virtual void ReleaseCompositorFrameSink() = 0; |
| 44 | 44 |
| 45 virtual void SetVisible(bool visible) = 0; | 45 virtual void SetVisible(bool visible) = 0; |
| 46 virtual void SetIsFullscreen(bool is_fullscreen) = 0; | |
|
Khushal
2017/05/24 02:12:23
Don't pipe this though proxy. The fullscreen state
steimel
2017/05/24 19:32:58
Ah gotcha, thanks for the insight and I'll make th
| |
| 46 | 47 |
| 47 virtual void SetNeedsAnimate() = 0; | 48 virtual void SetNeedsAnimate() = 0; |
| 48 virtual void SetNeedsUpdateLayers() = 0; | 49 virtual void SetNeedsUpdateLayers() = 0; |
| 49 virtual void SetNeedsCommit() = 0; | 50 virtual void SetNeedsCommit() = 0; |
| 50 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0; | 51 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0; |
| 51 virtual void SetNextCommitWaitsForActivation() = 0; | 52 virtual void SetNextCommitWaitsForActivation() = 0; |
| 52 | 53 |
| 53 virtual void NotifyInputThrottledUntilCommit() = 0; | 54 virtual void NotifyInputThrottledUntilCommit() = 0; |
| 54 | 55 |
| 55 // Defers commits until it is reset. It is only supported when using a | 56 // Defers commits until it is reset. It is only supported when using a |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 73 BrowserControlsState current, | 74 BrowserControlsState current, |
| 74 bool animate) = 0; | 75 bool animate) = 0; |
| 75 | 76 |
| 76 // Testing hooks | 77 // Testing hooks |
| 77 virtual bool MainFrameWillHappenForTesting() = 0; | 78 virtual bool MainFrameWillHappenForTesting() = 0; |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace cc | 81 } // namespace cc |
| 81 | 82 |
| 82 #endif // CC_TREES_PROXY_H_ | 83 #endif // CC_TREES_PROXY_H_ |
| OLD | NEW |