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

Unified Diff: cc/trees/layer_tree_host.h

Issue 300323005: Route selection bounds updates through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates 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/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index e77b86804239238cf6e767c0d6527c10a0c6aeab..c9cd5342b7c0caab0cb031235f3de81f4b169dc6 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -178,6 +178,11 @@ class CC_EXPORT LayerTreeHost {
return outer_viewport_scroll_layer_.get();
}
+ void RegisterSelection(scoped_refptr<Layer> start_layer,
+ const SelectionHandle& start_handle,
+ scoped_refptr<Layer> end_layer,
+ const SelectionHandle& end_handle);
+
const LayerTreeSettings& settings() const { return settings_; }
void SetDebugState(const LayerTreeDebugState& debug_state);
@@ -441,6 +446,11 @@ class CC_EXPORT LayerTreeHost {
scoped_refptr<Layer> inner_viewport_scroll_layer_;
scoped_refptr<Layer> outer_viewport_scroll_layer_;
+ scoped_refptr<Layer> start_selection_layer_;
+ scoped_refptr<Layer> end_selection_layer_;
+ SelectionHandle start_selection_handle_;
+ SelectionHandle end_selection_handle_;
+
SharedBitmapManager* shared_bitmap_manager_;
ScopedPtrVector<SwapPromise> swap_promise_list_;

Powered by Google App Engine
This is Rietveld 408576698