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

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: TODO 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 837dac28ef4e84a72f88a20a2223555b0b9b0b3c..424decd6b9b7ec9324a311fb04236d853356296d 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -85,10 +85,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
@@ -481,8 +480,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