summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorjdduke <jdduke@chromium.org>2015-04-23 12:36:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 19:36:51 +0000
commit449b529362950ccdfc48715146a466d7278b75dd (patch)
treeec64c472a9264aa6a4f0d0cccf198a2610e9d58e /components
parent2c2273d86f318ab7a46ce047266432e1f1089443 (diff)
downloadchromium_src-449b529362950ccdfc48715146a466d7278b75dd.zip
chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.gz
chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.bz2
Plumb selection bounds as a single unit
Route the new WebSelectionBounds selection unit from Blink atomically, rather than using a pair of data structures to indicate selection. This depends directly on crrev.com/929213004. BUG=466672,410543,417903 Review URL: https://codereview.chromium.org/1000243002 Cr-Commit-Position: refs/heads/master@{#326606}
Diffstat (limited to 'components')
-rw-r--r--components/html_viewer/web_layer_tree_view_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/html_viewer/web_layer_tree_view_impl.h b/components/html_viewer/web_layer_tree_view_impl.h
index 66c2ab4..212fc35 100644
--- a/components/html_viewer/web_layer_tree_view_impl.h
+++ b/components/html_viewer/web_layer_tree_view_impl.h
@@ -103,8 +103,7 @@ class WebLayerTreeViewImpl : public blink::WebLayerTreeView,
const blink::WebLayer* innerViewportScrollLayer,
const blink::WebLayer* outerViewportScrollLayer);
virtual void clearViewportLayers();
- virtual void registerSelection(const blink::WebSelectionBound& start,
- const blink::WebSelectionBound& end) {}
+ virtual void registerSelection(const blink::WebSelection& selection) {}
virtual void clearSelection() {}
virtual void setShowFPSCounter(bool) {}
virtual void setShowPaintRects(bool) {}