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

Side by Side Diff: chrome/renderer/content_settings_observer.h

Issue 408053002: Remove unused allowWebComponents method from ContentSettingsObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/content_settings_observer.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 CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const blink::WebURL& image_url) OVERRIDE; 58 const blink::WebURL& image_url) OVERRIDE;
59 virtual bool allowIndexedDB(const blink::WebString& name, 59 virtual bool allowIndexedDB(const blink::WebString& name,
60 const blink::WebSecurityOrigin& origin) OVERRIDE; 60 const blink::WebSecurityOrigin& origin) OVERRIDE;
61 virtual bool allowPlugins(bool enabled_per_settings) OVERRIDE; 61 virtual bool allowPlugins(bool enabled_per_settings) OVERRIDE;
62 virtual bool allowScript(bool enabled_per_settings) OVERRIDE; 62 virtual bool allowScript(bool enabled_per_settings) OVERRIDE;
63 virtual bool allowScriptFromSource(bool enabled_per_settings, 63 virtual bool allowScriptFromSource(bool enabled_per_settings,
64 const blink::WebURL& script_url) OVERRIDE; 64 const blink::WebURL& script_url) OVERRIDE;
65 virtual bool allowStorage(bool local) OVERRIDE; 65 virtual bool allowStorage(bool local) OVERRIDE;
66 virtual bool allowReadFromClipboard(bool default_value) OVERRIDE; 66 virtual bool allowReadFromClipboard(bool default_value) OVERRIDE;
67 virtual bool allowWriteToClipboard(bool default_value) OVERRIDE; 67 virtual bool allowWriteToClipboard(bool default_value) OVERRIDE;
68 virtual bool allowWebComponents(bool default_value) OVERRIDE;
69 virtual bool allowMutationEvents(bool default_value) OVERRIDE; 68 virtual bool allowMutationEvents(bool default_value) OVERRIDE;
70 virtual bool allowPushState() OVERRIDE; 69 virtual bool allowPushState() OVERRIDE;
71 virtual void didNotAllowPlugins() OVERRIDE; 70 virtual void didNotAllowPlugins() OVERRIDE;
72 virtual void didNotAllowScript() OVERRIDE; 71 virtual void didNotAllowScript() OVERRIDE;
73 virtual bool allowDisplayingInsecureContent( 72 virtual bool allowDisplayingInsecureContent(
74 bool allowed_per_settings, 73 bool allowed_per_settings,
75 const blink::WebSecurityOrigin& context, 74 const blink::WebSecurityOrigin& context,
76 const blink::WebURL& url) OVERRIDE; 75 const blink::WebURL& url) OVERRIDE;
77 virtual bool allowRunningInsecureContent( 76 virtual bool allowRunningInsecureContent(
78 bool allowed_per_settings, 77 bool allowed_per_settings,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool npapi_plugins_blocked_; 143 bool npapi_plugins_blocked_;
145 144
146 int current_request_id_; 145 int current_request_id_;
147 typedef std::map<int, blink::WebPermissionCallbacks> PermissionRequestMap; 146 typedef std::map<int, blink::WebPermissionCallbacks> PermissionRequestMap;
148 PermissionRequestMap permission_requests_; 147 PermissionRequestMap permission_requests_;
149 148
150 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); 149 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver);
151 }; 150 };
152 151
153 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 152 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698