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

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: Tweaked 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/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 3122c44eb535c08da16c73b4a7d8cf7211008eed..3d714e703c8ec6760005444276f63c165b95714a 100644
--- a/components/mus/surfaces/top_level_display_client.h
+++ b/components/mus/surfaces/top_level_display_client.h
@@ -42,6 +42,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