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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 1851793002: Implement a shell of FindRequestManager, and hook it up to WebContentsImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and small fix. Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 virtual blink::WebPageVisibilityState GetVisibilityState() = 0; 184 virtual blink::WebPageVisibilityState GetVisibilityState() = 0;
185 185
186 // Returns whether the RenderFrame in the renderer process has been created 186 // Returns whether the RenderFrame in the renderer process has been created
187 // and still has a connection. This is valid for all frames. 187 // and still has a connection. This is valid for all frames.
188 virtual bool IsRenderFrameLive() = 0; 188 virtual bool IsRenderFrameLive() = 0;
189 189
190 // Get the number of proxies to this frame, in all processes. Exposed for 190 // Get the number of proxies to this frame, in all processes. Exposed for
191 // use by resource metrics. 191 // use by resource metrics.
192 virtual int GetProxyCount() = 0; 192 virtual int GetProxyCount() = 0;
193 193
194 #if defined(OS_ANDROID)
195 // Selects and zooms to the find result nearest to the point (x,y)
196 // defined in find-in-page coordinates.
197 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0;
198
199 // Asks the renderer process to send the rects of the current find matches.
200 virtual void RequestFindMatchRects(int current_version) = 0;
201 #endif
202
203 private: 194 private:
204 // This interface should only be implemented inside content. 195 // This interface should only be implemented inside content.
205 friend class RenderFrameHostImpl; 196 friend class RenderFrameHostImpl;
206 RenderFrameHost() {} 197 RenderFrameHost() {}
207 }; 198 };
208 199
209 } // namespace content 200 } // namespace content
210 201
211 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 202 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698