Chromium Code Reviews| 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 d78ba06e1c48ee5f83b9daa3e470db4e9cc443f1..6d89d3d3abc9fab34dcdc0784475ef6f2f1780cd 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -20,6 +20,10 @@ |
| #include "url/gurl.h" |
| #include "url/origin.h" |
| +#if defined(OS_ANDROID) |
| +#include "base/android/scoped_java_ref.h" |
| +#endif |
| + |
| namespace base { |
| class Value; |
| } |
| @@ -230,6 +234,11 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| // RenderFrame. See BindingsPolicy for details. |
| virtual int GetEnabledBindings() const = 0; |
| +#if defined(OS_ANDROID) |
| + CONTENT_EXPORT static RenderFrameHost* FromJavaRenderFrameHost( |
|
boliu
2017/02/16 01:00:58
this should be on RenderFrameHostAndroid
rwlbuis
2017/03/01 21:53:57
Ok, turned out we do not need it.
|
| + const base::android::JavaRef<jobject>& jrender_frame_host_android); |
| +#endif |
| + |
| private: |
| // This interface should only be implemented inside content. |
| friend class RenderFrameHostImpl; |