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

Unified Diff: Source/web/WebViewImpl.h

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test Created 5 years, 9 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: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 4c6e0a3a313a69ebf2bb56bb4125e6f70fd15030..0d8f65f9d92225cf63227e591672da28cfb98bea 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -82,10 +82,9 @@ class WebLocalFrameImpl;
class WebImage;
class WebPagePopupImpl;
class WebPlugin;
+class WebSelection;
class WebSettingsImpl;
-struct WebSelectionBound;
-
class WebViewImpl final : public WebView
, public RefCounted<WebViewImpl>
, public WebGestureCurveTarget
@@ -490,8 +489,8 @@ public:
void enterFullScreenForElement(Element*);
void exitFullScreenForElement(Element*);
- void clearCompositedSelectionBounds();
- void updateCompositedSelectionBounds(const WebSelectionBound& anchor, const WebSelectionBound& focus);
+ void clearCompositedSelection();
+ void updateCompositedSelection(const WebSelection&);
// Exposed for the purpose of overriding device metrics.
void sendResizeEventAndRepaint();

Powered by Google App Engine
This is Rietveld 408576698