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

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: Addressed Rob's comments 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
Index: components/mus/display_manager.h
diff --git a/components/mus/display_manager.h b/components/mus/display_manager.h
index 4173f367b0f1ba75aba182d11a00b89fa9450a83..f868e3756c5378af4af7fc91bd74d94101552e85 100644
--- a/components/mus/display_manager.h
+++ b/components/mus/display_manager.h
@@ -103,9 +103,18 @@ 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
rjkroege 2015/09/17 20:21:20 I note in passing that this is where we should be
Fady Samuel 2015/09/17 21:44:18 Added a comment.
+ // for the display.
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;

Powered by Google App Engine
This is Rietveld 408576698