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

Unified Diff: services/ui/ws/server_window_compositor_frame_sink_manager.h

Issue 2612113002: Removing ServerWindowCompositorFrameSinkManager::ShouldDraw() (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_compositor_frame_sink_manager.h
diff --git a/services/ui/ws/server_window_compositor_frame_sink_manager.h b/services/ui/ws/server_window_compositor_frame_sink_manager.h
index eb21737d9defb788bbfc88377199030a5f81d743..69055d5620fe180e0f1e11036a50fe0bd44541d0 100644
--- a/services/ui/ws/server_window_compositor_frame_sink_manager.h
+++ b/services/ui/ws/server_window_compositor_frame_sink_manager.h
@@ -45,9 +45,6 @@ class ServerWindowCompositorFrameSinkManager {
explicit ServerWindowCompositorFrameSinkManager(ServerWindow* window);
~ServerWindowCompositorFrameSinkManager();
- // Returns true if the CompositorFrameSinks from this manager should be drawn.
- bool ShouldDraw();
-
// Creates a new CompositorFrameSink of the specified type, replacing the
// existing one of the specified type.
void CreateDisplayCompositorFrameSink(
@@ -109,15 +106,6 @@ class ServerWindowCompositorFrameSinkManager {
TypeToCompositorFrameSinkMap type_to_compositor_frame_sink_map_;
- // TODO(mfomitchev): This is currently always false. Confirm if we still need
- // this.
- // While true the window is not drawn. This is initially true if the window
- // has the property |kWaitForUnderlay_Property|. This is set to false once
- // the underlay and default surface have been set *and* their size is at
- // least that of the window. Ideally we would wait for sizes to match, but
- // the underlay is not necessarily as big as the window.
- bool waiting_for_initial_frames_;
-
DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSinkManager);
};
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698