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

Unified Diff: components/mus/display_manager.h

Issue 1328953003: Mandoline: Support transforms and clipping of OOPIFs and events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO Created 5 years, 3 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 | « components/mus/connection_manager.cc ('k') | components/mus/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/display_manager.h
diff --git a/components/mus/display_manager.h b/components/mus/display_manager.h
index 4173f367b0f1ba75aba182d11a00b89fa9450a83..dbdc99b64f4d58530b8c3d4d0129756558a8d5ff 100644
--- a/components/mus/display_manager.h
+++ b/components/mus/display_manager.h
@@ -103,9 +103,19 @@ class DefaultDisplayManager : public DisplayManager,
private:
void WantToDraw();
+
+ // This method initiates a top level redraw of the display.
+ // TODO(fsamuel): This should use vblank as a signal rather than a timer
+ // http://crbug.com/533042
void Draw();
+
+ // This is called after cc::Display has completed generating a new frame
+ // for the display. TODO(fsamuel): Idle time processing should happen here
+ // if there is budget for it.
void DidDraw();
void UpdateMetrics(const gfx::Size& size, float device_pixel_ratio);
+ scoped_ptr<cc::CompositorFrame> GenerateCompositorFrame();
+ const cc::CompositorFrame* GetLastCompositorFrame() const;
// ui::PlatformWindowDelegate:
void OnBoundsChanged(const gfx::Rect& new_bounds) override;
« no previous file with comments | « components/mus/connection_manager.cc ('k') | components/mus/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698