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

Unified Diff: ui/compositor/layer.h

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « tools/valgrind/gtest_exclude/content_unittests.gtest.txt ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 16a2578267c102bf7c0b32577161e18693a48626..74781d119f51f39e9a57ecaba2932f792dd2efa7 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -17,6 +17,7 @@
#include "cc/base/scoped_ptr_vector.h"
#include "cc/layers/content_layer_client.h"
#include "cc/layers/layer_client.h"
+#include "cc/layers/surface_layer.h"
#include "cc/layers/texture_layer_client.h"
#include "cc/resources/texture_mailbox.h"
#include "cc/surfaces/surface_id.h"
@@ -275,7 +276,10 @@ class COMPOSITOR_EXPORT Layer
gfx::Size frame_size_in_dip);
// Begins showing content from a surface with a particular id.
- void SetShowSurface(cc::SurfaceId id, gfx::Size frame_size_in_dip);
+ void SetShowSurface(cc::SurfaceId id,
+ const cc::SurfaceLayer::SatisfyCallback& satisfy_callback,
+ const cc::SurfaceLayer::RequireCallback& require_callback,
+ gfx::Size frame_size_in_dip);
bool has_external_content() {
return texture_layer_.get() || delegated_renderer_layer_.get() ||
« no previous file with comments | « tools/valgrind/gtest_exclude/content_unittests.gtest.txt ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698