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

Unified Diff: cc/surfaces/display.h

Issue 2238693002: Plumb SetVisible from ui::Compositor to the DirectRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 0fc2fb0a7484bf5f6a4853c93ef61022cb655521..c19a4565835c9568b81a63fa772a313251005fe1 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -73,6 +73,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
// device_scale_factor is used to communicate to the external window system
// what scale this was rendered at.
void SetSurfaceId(const SurfaceId& id, float device_scale_factor);
+ void SetVisible(bool visible);
void Resize(const gfx::Size& new_size);
void SetColorSpace(const gfx::ColorSpace& color_space);
void SetExternalClip(const gfx::Rect& clip);
« cc/output/renderer.h ('K') | « cc/output/renderer.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698