Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 10964160bb5b8ea74f8eec716747f96d0c5a8f06..a56a6cd43d516864a095015dd10a7b2b65d52b8e 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -34,6 +34,7 @@ |
#include "cc/output/output_surface.h" |
#include "cc/resources/resource_format.h" |
#include "cc/resources/scoped_ui_resource.h" |
+#include "cc/surfaces/surface_sequence.h" |
#include "cc/trees/layer_tree_host_client.h" |
#include "cc/trees/layer_tree_host_common.h" |
#include "cc/trees/layer_tree_settings.h" |
@@ -307,6 +308,9 @@ class CC_EXPORT LayerTreeHost { |
size_t num_queued_swap_promises() const { return swap_promise_list_.size(); } |
+ void set_surface_id_namespace(uint32_t id_namespace); |
+ SurfaceSequence CreateSurfaceSequence(); |
+ |
protected: |
LayerTreeHost(LayerTreeHostClient* client, |
SharedBitmapManager* shared_bitmap_manager, |
@@ -464,6 +468,9 @@ class CC_EXPORT LayerTreeHost { |
ScopedPtrVector<SwapPromise> swap_promise_list_; |
std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
+ uint32_t surface_id_namespace_; |
+ uint32_t next_surface_sequence_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
}; |