| Index: android_webview/native/aw_contents.h
|
| diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
|
| index 169b12e553dd29fd4111882073ba53392c512019..24e430f2d90b8aa098ff241281ba65808bd52bf7 100644
|
| --- a/android_webview/native/aw_contents.h
|
| +++ b/android_webview/native/aw_contents.h
|
| @@ -16,7 +16,6 @@
|
| #include "android_webview/browser/icon_helper.h"
|
| #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h"
|
| #include "android_webview/browser/shared_renderer_state.h"
|
| -#include "android_webview/native/permission/permission_request_handler_client.h"
|
| #include "base/android/jni_weak_ref.h"
|
| #include "base/android/scoped_java_ref.h"
|
| #include "base/callback_forward.h"
|
| @@ -37,7 +36,6 @@
|
| class AwPdfExporter;
|
| class AwWebContentsDelegate;
|
| class HardwareRenderer;
|
| -class PermissionRequestHandler;
|
|
|
| // Native side of java-class of same name.
|
| // Provides the ownership of and access to browser components required for
|
| @@ -55,8 +53,7 @@
|
| class AwContents : public FindHelper::Listener,
|
| public IconHelper::Listener,
|
| public AwRenderViewHostExtClient,
|
| - public BrowserViewRendererClient,
|
| - public PermissionRequestHandlerClient {
|
| + public BrowserViewRendererClient {
|
| public:
|
| // Returns the AwContents instance associated with |web_contents|, or NULL.
|
| static AwContents* FromWebContents(content::WebContents* web_contents);
|
| @@ -143,15 +140,6 @@
|
| jboolean value,
|
| jstring origin);
|
|
|
| - // PermissionRequestHandlerClient implementation.
|
| - virtual void OnPermissionRequest(AwPermissionRequest* request) OVERRIDE;
|
| - virtual void OnPermissionRequestCanceled(
|
| - AwPermissionRequest* request) OVERRIDE;
|
| -
|
| - PermissionRequestHandler* GetPermissionRequestHandler() {
|
| - return permission_request_handler_.get();
|
| - }
|
| -
|
| // Find-in-page API and related methods.
|
| void FindAllAsync(JNIEnv* env, jobject obj, jstring search_string);
|
| void FindNext(JNIEnv* env, jobject obj, jboolean forward);
|
| @@ -234,7 +222,6 @@
|
| BrowserViewRenderer browser_view_renderer_;
|
| scoped_ptr<HardwareRenderer> hardware_renderer_;
|
| scoped_ptr<AwPdfExporter> pdf_exporter_;
|
| - scoped_ptr<PermissionRequestHandler> permission_request_handler_;
|
|
|
| // GURL is supplied by the content layer as requesting frame.
|
| // Callback is supplied by the content layer, and is invoked with the result
|
|
|