Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: cc/trees/proxy_main.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Show a black frame during fullscreen transitions to hide jank Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MAIN_H_ 5 #ifndef CC_TREES_PROXY_MAIN_H_
6 #define CC_TREES_PROXY_MAIN_H_ 6 #define CC_TREES_PROXY_MAIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/input/browser_controls_state.h" 10 #include "cc/input/browser_controls_state.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 return final_pipeline_stage_; 62 return final_pipeline_stage_;
63 } 63 }
64 64
65 private: 65 private:
66 // Proxy implementation. 66 // Proxy implementation.
67 bool IsStarted() const override; 67 bool IsStarted() const override;
68 bool CommitToActiveTree() const override; 68 bool CommitToActiveTree() const override;
69 void SetCompositorFrameSink( 69 void SetCompositorFrameSink(
70 CompositorFrameSink* compositor_frame_sink) override; 70 CompositorFrameSink* compositor_frame_sink) override;
71 void SetVisible(bool visible) override; 71 void SetVisible(bool visible) override;
72 void SetIsFullscreen(bool is_fullscreen) override;
72 void SetNeedsAnimate() override; 73 void SetNeedsAnimate() override;
73 void SetNeedsUpdateLayers() override; 74 void SetNeedsUpdateLayers() override;
74 void SetNeedsCommit() override; 75 void SetNeedsCommit() override;
75 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 76 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
76 void SetNextCommitWaitsForActivation() override; 77 void SetNextCommitWaitsForActivation() override;
77 void NotifyInputThrottledUntilCommit() override; 78 void NotifyInputThrottledUntilCommit() override;
78 void SetDeferCommits(bool defer_commits) override; 79 void SetDeferCommits(bool defer_commits) override;
79 bool CommitRequested() const override; 80 bool CommitRequested() const override;
80 void MainThreadHasStoppedFlinging() override; 81 void MainThreadHasStoppedFlinging() override;
81 void Start() override; 82 void Start() override;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 base::WeakPtrFactory<ProxyMain> frame_sink_bound_weak_factory_; 136 base::WeakPtrFactory<ProxyMain> frame_sink_bound_weak_factory_;
136 137
137 base::WeakPtrFactory<ProxyMain> weak_factory_; 138 base::WeakPtrFactory<ProxyMain> weak_factory_;
138 139
139 DISALLOW_COPY_AND_ASSIGN(ProxyMain); 140 DISALLOW_COPY_AND_ASSIGN(ProxyMain);
140 }; 141 };
141 142
142 } // namespace cc 143 } // namespace cc
143 144
144 #endif // CC_TREES_PROXY_MAIN_H_ 145 #endif // CC_TREES_PROXY_MAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698