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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2217813003: Add global and per-WebContents java InterfaceRegistries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java-interface-registry
Patch Set: Created 4 years, 3 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
« no previous file with comments | « content/browser/android/java_interfaces_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index e4b786fd7f49396fa2ce9ee355568552e6e238c0..935dc7d1fba1d7b00ced85ffd26bc138bf7007a2 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -51,6 +51,10 @@
struct ViewHostMsg_DateTimeDialogValue_Params;
+namespace shell {
+class InterfaceProvider;
+}
+
namespace content {
class BrowserPluginEmbedder;
class BrowserPluginGuest;
@@ -415,6 +419,7 @@ class CONTENT_EXPORT WebContentsImpl
virtual WebContentsAndroid* GetWebContentsAndroid();
void ActivateNearestFindResult(float x, float y) override;
void RequestFindMatchRects(int current_version) override;
+ shell::InterfaceProvider* GetJavaInterfaces() override;
#elif defined(OS_MACOSX)
void SetAllowOtherViews(bool allow) override;
bool GetAllowOtherViews() override;
@@ -1448,6 +1453,10 @@ class CONTENT_EXPORT WebContentsImpl
// there's no RenderWidgetHost holding a lock.
RenderWidgetHostImpl* mouse_lock_widget_;
+#if defined(OS_ANDROID)
+ std::unique_ptr<shell::InterfaceProvider> java_interfaces_;
+#endif
+
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
base::WeakPtrFactory<WebContentsImpl> weak_factory_;
« no previous file with comments | « content/browser/android/java_interfaces_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698