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

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

Issue 2613903003: Reland of "Mustash: Ensure surfaces submitted to Mus by WM and embedders contain Surfaces with embe… (Closed)
Patch Set: fix 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/display.cc ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.h
diff --git a/services/ui/ws/frame_generator.h b/services/ui/ws/frame_generator.h
index 706f851e1b0ba581f4a2624323119d5a7b14f01c..d60b8b29edc14bbe8f880095b9d4e5c5b1e623f6 100644
--- a/services/ui/ws/frame_generator.h
+++ b/services/ui/ws/frame_generator.h
@@ -80,12 +80,9 @@ class FrameGenerator : public ServerWindowTracker,
// Generates the CompositorFrame.
cc::CompositorFrame GenerateCompositorFrame(const gfx::Rect& output_rect);
- // DrawWindowTree recursively visits ServerWindows, creating a SurfaceDrawQuad
- // for each that lacks one.
- void DrawWindowTree(cc::RenderPass* pass,
- ServerWindow* window,
- const gfx::Vector2d& parent_to_root_origin_offset,
- float opacity);
+ // DrawWindow creates SurfaceDrawQuad for the provided ServerWindow and
+ // appends it to the provided cc::RenderPass.
+ void DrawWindow(cc::RenderPass* pass, ServerWindow* window);
// Finds the parent surface id for |window|.
cc::SurfaceId FindParentSurfaceId(ServerWindow* window);
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698