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

Side by Side Diff: android_webview/renderer/aw_render_view_ext.h

Issue 16940009: [Android WebView] Implement WebPermissionClient methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix style Created 7 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void OnResetScrollAndScaleState(); 47 void OnResetScrollAndScaleState();
48 48
49 void OnSetInitialPageScale(double page_scale_factor); 49 void OnSetInitialPageScale(double page_scale_factor);
50 50
51 void UpdatePageScaleFactor(); 51 void UpdatePageScaleFactor();
52 52
53 // WebKit::WebPermissionClient implementation. 53 // WebKit::WebPermissionClient implementation.
54 virtual bool allowImage(WebKit::WebFrame* frame, 54 virtual bool allowImage(WebKit::WebFrame* frame,
55 bool enabledPerSettings, 55 bool enabledPerSettings,
56 const WebKit::WebURL& imageURL) OVERRIDE; 56 const WebKit::WebURL& imageURL) OVERRIDE;
57 virtual bool allowDisplayingInsecureContent(
58 WebKit::WebFrame* frame,
59 bool enabled_per_settings,
60 const WebKit::WebSecurityOrigin& origin,
61 const WebKit::WebURL& url) OVERRIDE;
62 virtual bool allowRunningInsecureContent(
63 WebKit::WebFrame* frame,
64 bool enabled_per_settings,
65 const WebKit::WebSecurityOrigin& origin,
66 const WebKit::WebURL& url) OVERRIDE;
57 67
58 bool capture_picture_enabled_; 68 bool capture_picture_enabled_;
59 69
60 float page_scale_factor_; 70 float page_scale_factor_;
61 71
62 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); 72 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt);
63 }; 73 };
64 74
65 } // namespace android_webview 75 } // namespace android_webview
66 76
67 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 77 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698