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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 352173002: Expose public interface for composited selection bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Public API only 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
« no previous file with comments | « no previous file | public/platform/WebSelectionBound.h » ('j') | public/platform/WebSelectionBound.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index 134201641833257cbdaed29ace3b3bf55091f46e..b13138555420eb09dafeea33faf43f0cffc29462 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -42,6 +42,7 @@ class WebLayer;
struct WebPoint;
struct WebRect;
struct WebRenderingStats;
+struct WebSelectionBound;
class WebLayerTreeView {
public:
@@ -125,6 +126,10 @@ public:
const WebLayer* outerViewportScrollLayer) { }
virtual void clearViewportLayers() { }
+ // Used to update the active selection bounds.
+ virtual void registerSelection(const WebSelectionBound& anchor, const WebSelectionBound& focus) { }
abarth-chromium 2014/06/25 22:27:03 Are there any invariants of these arguments that w
jdduke (slow) 2014/06/25 22:58:10 Yes, good call, I'll flesh out the comment a bit m
+ virtual void clearSelection() { }
+
// Debugging / dangerous ---------------------------------------------
// Toggles the FPS counter in the HUD layer
« no previous file with comments | « no previous file | public/platform/WebSelectionBound.h » ('j') | public/platform/WebSelectionBound.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698