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

Unified Diff: Source/web/WebViewImpl.h

Issue 352173002: Expose public interface for composited selection bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index e47d5f8205bf70077164e6fc134402c93603a928..72b58178b99481dd1e3f73f5898d0e0836c8d52f 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -79,6 +79,8 @@ class WebPlugin;
class WebSettingsImpl;
class FullscreenController;
+struct WebSelectionBound;
+
class WebViewImpl FINAL : public WebView
, public RefCounted<WebViewImpl>
, public WebGestureCurveTarget
@@ -446,6 +448,9 @@ public:
void enterFullScreenForElement(WebCore::Element*);
void exitFullScreenForElement(WebCore::Element*);
+ void clearCompositedSelectionBounds();
+ void updateCompositedSelectionBounds(const WebSelectionBound& anchor, const WebSelectionBound& focus);
+
// Exposed for the purpose of overriding device metrics.
void sendResizeEventAndRepaint();

Powered by Google App Engine
This is Rietveld 408576698