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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 302993003: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Factor common logic to RenderLayerCompositor Created 6 years, 6 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: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index 43549b492355b9c7beb61ff3df1b4bbd4d9d7fa7..c8c0157ff383f7f86fd54b24cb2ccab5f35b2e79 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -42,6 +42,7 @@ class WebLayer;
struct WebPoint;
struct WebRect;
struct WebRenderingStats;
+struct WebSelection;
class WebLayerTreeView {
public:
@@ -125,6 +126,10 @@ public:
const WebLayer* outerViewportScrollLayer) { }
virtual void clearViewportLayers() { }
+ // Used to update the active selection region.
+ virtual void registerSelection(const WebSelection& selection) { }
+ virtual void clearSelection() { }
abarth-chromium 2014/06/13 21:38:15 Why does the WebLayerTreeView need to be aware of
jdduke (slow) 2014/06/20 17:15:59 I considered attaching the handles to a given laye
+
// Debugging / dangerous ---------------------------------------------
// Toggles the FPS counter in the HUD layer

Powered by Google App Engine
This is Rietveld 408576698