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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Hold on to RFH main frame Created 3 years, 10 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/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 0dd8f60f192b1c5ba522a9639045fe622a115d3d..394cf807f01542dc6026f5d9a32b0a2320e42d26 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -20,6 +20,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
+#include "base/supports_user_data.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
@@ -112,6 +113,7 @@ class CreateNewWindowParams;
class CONTENT_EXPORT RenderFrameHostImpl
: public RenderFrameHost,
+ public base::SupportsUserData,
NON_EXPORTED_BASE(public mojom::FrameHost),
public BrowserAccessibilityDelegate,
public SiteInstanceImpl::Observer,
@@ -632,6 +634,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
return has_focused_editable_element_;
}
+#if defined(OS_ANDROID)
+ base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHost();
+#endif
+
protected:
friend class RenderFrameHostFactory;

Powered by Google App Engine
This is Rietveld 408576698