| 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() ||
|
|
|