Chromium Code Reviews| Index: components/html_viewer/html_frame.h |
| diff --git a/components/html_viewer/html_frame.h b/components/html_viewer/html_frame.h |
| index fef256ab44ae835801a49a7b377a8c7420bd7ba0..65c494cfe0be84ebd32152e33e58b262ea54b858 100644 |
| --- a/components/html_viewer/html_frame.h |
| +++ b/components/html_viewer/html_frame.h |
| @@ -194,6 +194,12 @@ class HTMLFrame : public blink::WebFrameClient, |
| virtual void didReceiveTitle(blink::WebLocalFrame* frame, |
| const blink::WebString& title, |
| blink::WebTextDirection direction); |
| + virtual void reportFindInFrameMatchCount(int identifier, |
| + int count, |
| + bool finalUpdate); |
| + virtual void reportFindInPageSelection(int identifier, |
| + int activeMatchOrdinal, |
| + const blink::WebRect& selection); |
| private: |
| friend class HTMLFrameTreeManager; |
| @@ -244,6 +250,8 @@ class HTMLFrame : public blink::WebFrameClient, |
| GlobalState* global_state() { return frame_tree_manager_->global_state(); } |
| + blink::WebElement GetFocusedElement(); |
|
sky
2015/10/05 15:55:08
This should document it returns the focused elemen
|
| + |
| // Returns the Frame associated with the specified WebFrame. |
| HTMLFrame* FindFrameWithWebFrame(blink::WebFrame* web_frame); |
| @@ -280,6 +288,14 @@ class HTMLFrame : public blink::WebFrameClient, |
| const OnWillNavigateCallback& callback) override; |
| void OnFrameLoadingStateChanged(uint32_t frame_id, bool loading) override; |
| void OnDispatchFrameLoadEvent(uint32_t frame_id) override; |
| + void Find(int32 request_id, |
| + const mojo::String& search_text, |
| + const FindCallback& callback) override; |
| + void StopFinding(bool clear_selection) override; |
| + void ScopeStringMatches(int32_t request_id, |
| + const mojo::String& search_test, |
| + bool reset) override; |
| + void CancelPendingScopingEffort() override; |
| // blink::WebRemoteFrameClient: |
| virtual void frameDetached(blink::WebRemoteFrameClient::DetachType type); |