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

Unified Diff: Source/web/WebFrameImpl.h

Issue 201773005: Copy a few selection related methods to WebFrame from WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test Created 6 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
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.h
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h
index 79eec874aa6a62de89664c3d541529c7334f3b72..ea89dee940fd2f8c4bb723047807f9de8bbec946 100644
--- a/Source/web/WebFrameImpl.h
+++ b/Source/web/WebFrameImpl.h
@@ -63,6 +63,7 @@ class WebDataSourceImpl;
class WebInputElement;
class WebFrameClient;
class WebPerformance;
+class WebPlugin;
class WebPluginContainerImpl;
class WebView;
class WebViewImpl;
@@ -182,6 +183,9 @@ public:
virtual void selectRange(const WebRange&) OVERRIDE;
virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent) OVERRIDE;
virtual void moveCaretSelection(const WebPoint&) OVERRIDE;
+ virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE;
+ virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
+ virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
virtual void setCaretVisible(bool) OVERRIDE;
virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode) OVERRIDE;
virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
@@ -408,6 +412,8 @@ private:
// Returns a hit-tested VisiblePosition for the given point
WebCore::VisiblePosition visiblePositionForWindowPoint(const WebPoint&);
+ WebPlugin* focusedPluginIfInputMethodSupported();
+
FrameLoaderClientImpl m_frameLoaderClientImpl;
// The embedder retains a reference to the WebCore LocalFrame while it is active in the DOM. This
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698