| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index 163a2adf05dee23d5161e4a2747cf49e3e49b88a..37b3bf2b5d759f6de4423e4e09434e85d4206541 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -46,6 +46,10 @@ namespace net {
|
| struct LoadStateWithParam;
|
| }
|
|
|
| +namespace shell {
|
| +class InterfaceProvider;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserContext;
|
| @@ -727,6 +731,11 @@ class WebContents : public PageNavigator,
|
| // TODO(paulmeyer): This process will change slightly once multi-process
|
| // find-in-page is implemented. This comment should be updated at that time.
|
| virtual void RequestFindMatchRects(int current_version) = 0;
|
| +
|
| + // Returns an InterfaceProvider for Java-implemented interfaces that are
|
| + // scoped to this WebContents. This provides access to interfaces implemented
|
| + // in Java in the browser process to C++ code in the browser process.
|
| + virtual shell::InterfaceProvider* GetJavaInterfaces() = 0;
|
| #elif defined(OS_MACOSX)
|
| // Allowing other views disables optimizations which assume that only a single
|
| // WebContents is present.
|
|
|