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

Unified Diff: android_webview/renderer/aw_render_view_ext.h

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years 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/renderer/aw_permission_client.cc ('k') | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/renderer/aw_render_view_ext.h
===================================================================
--- android_webview/renderer/aw_render_view_ext.h (revision 241294)
+++ android_webview/renderer/aw_render_view_ext.h (working copy)
@@ -9,7 +9,6 @@
#include "base/compiler_specific.h"
#include "base/timer/timer.h"
#include "content/public/renderer/render_view_observer.h"
-#include "third_party/WebKit/public/web/WebPermissionClient.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/size.h"
@@ -25,8 +24,7 @@
// Render process side of AwRenderViewHostExt, this provides cross-process
// implementation of miscellaneous WebView functions that we need to poke
// WebKit directly to implement (and that aren't needed in the chrome app).
-class AwRenderViewExt : public content::RenderViewObserver,
- public blink::WebPermissionClient {
+class AwRenderViewExt : public content::RenderViewObserver {
public:
static void RenderViewCreated(content::RenderView* render_view);
@@ -61,18 +59,6 @@
void CheckContentsSize();
- // blink::WebPermissionClient implementation.
- virtual bool allowDisplayingInsecureContent(
- blink::WebFrame* frame,
- bool enabled_per_settings,
- const blink::WebSecurityOrigin& origin,
- const blink::WebURL& url) OVERRIDE;
- virtual bool allowRunningInsecureContent(
- blink::WebFrame* frame,
- bool enabled_per_settings,
- const blink::WebSecurityOrigin& origin,
- const blink::WebURL& url) OVERRIDE;
-
bool capture_picture_enabled_;
float page_scale_factor_;
« no previous file with comments | « android_webview/renderer/aw_permission_client.cc ('k') | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698