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

Unified Diff: components/mus/surfaces/top_level_display_client.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: Rebase works! 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/surfaces/top_level_display_client.h
diff --git a/components/mus/surfaces/top_level_display_client.h b/components/mus/surfaces/top_level_display_client.h
index f8e15ad63e920ad4e1ba9046821b5329c3d9858b..8ff860ca4333c0e4482b1b233cd427f9f3b1dc9d 100644
--- a/components/mus/surfaces/top_level_display_client.h
+++ b/components/mus/surfaces/top_level_display_client.h
@@ -45,6 +45,9 @@ class TopLevelDisplayClient : public cc::DisplayClient,
void SubmitCompositorFrame(scoped_ptr<cc::CompositorFrame> frame,
const base::Closure& callback);
+ const cc::CompositorFrame* GetLastCompositorFrame() const;
+
+ const cc::SurfaceId& surface_id() const { return cc_id_; }
private:
// DisplayClient implementation.
// TODO(rjkroege, fsamuel): This won't work correctly with multiple displays.

Powered by Google App Engine
This is Rietveld 408576698