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

Unified Diff: cc/surfaces/surface.h

Issue 302903003: Add very simple cc::Display implementation for surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index 8ed4399a6abe89702f4a5d430a47472b29620d3e..39ba1b7e1b5a7ba642f8dd28a4d87ccca0990e81 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -29,6 +29,8 @@ class CC_SURFACES_EXPORT Surface {
// Returns the most recent frame that is eligible to be rendered.
CompositorFrame* GetEligibleFrame();
+ scoped_ptr<CompositorFrame> TakeFrame();
jamesr 2014/05/28 22:01:28 this isn't right - a surface retains ownership of
+
private:
SurfaceManager* manager_;
SurfaceClient* client_;

Powered by Google App Engine
This is Rietveld 408576698