Index: third_party/WebKit/Source/web/WebLocalFrameImpl.h |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
index 30a9d374f9fa0c215bf37256735c9694b8431115..a05039bd75f1486b0cb5795ddc36f763443963f8 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
@@ -229,7 +229,7 @@ public: |
bool find( |
int identifier, const WebString& searchText, const WebFindOptions&, |
bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow = nullptr) override; |
- void stopFinding(bool clearSelection) override; |
+ void stopFinding(StopFindAction) override; |
void scopeStringMatches( |
int identifier, const WebString& searchText, const WebFindOptions&, |
bool reset) override; |
@@ -240,8 +240,10 @@ public: |
WebFloatRect activeFindMatchRect() override; |
void findMatchRects(WebVector<WebFloatRect>&) override; |
int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) override; |
+ float distanceToNearestFindMatch(const WebFloatPoint&) override; |
void setTickmarks(const WebVector<WebRect>&) override; |
WebFrameWidget* frameWidget() const override; |
+ void clearActiveFindMatch() override; |
// WebFrameImplBase methods: |
void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override; |
@@ -351,6 +353,9 @@ private: |
WebPlugin* focusedPluginIfInputMethodSupported(); |
ScrollableArea* layoutViewportScrollableArea() const; |
+ // Returns true if the frame is focused. |
+ bool isFocused() const; |
+ |
Member<FrameLoaderClientImpl> m_frameLoaderClientImpl; |
// The embedder retains a reference to the WebCore LocalFrame while it is active in the DOM. This |