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

Unified Diff: android_webview/native/aw_contents.h

Issue 268543005: Revert of Handle media access permission request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698