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

Unified Diff: content/public/browser/render_frame_host.h

Issue 1526263003: Position autofill popup widgets correctly under --site-per-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments addressed Created 4 years, 11 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: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 4a45df26931abb1ed27289a49b4ede523d5b266c..6afcd314de60ed995fe6ba911d5c4212b198e69f 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -26,6 +26,7 @@ class Value;
namespace content {
class RenderProcessHost;
class RenderViewHost;
+class RenderWidgetHostView;
class ServiceRegistry;
class SiteInstance;
@@ -73,6 +74,10 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// Returns the process for this frame.
virtual RenderProcessHost* GetProcess() = 0;
+ // Returns the RenderWidgetHostView that can be used to control focus and
+ // visibility for this frame.
+ virtual RenderWidgetHostView* GetView() = 0;
+
// Returns the current RenderFrameHost of the parent frame, or nullptr if
// there is no parent. The result may be in a different process than the
// current RenderFrameHost.

Powered by Google App Engine
This is Rietveld 408576698