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

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

Issue 988293002: platform apps: Disables history.pushState/replaceState in platform_app.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual bool allowIndexedDB(const blink::WebString& name, 67 virtual bool allowIndexedDB(const blink::WebString& name,
68 const blink::WebSecurityOrigin& origin) override; 68 const blink::WebSecurityOrigin& origin) override;
69 virtual bool allowPlugins(bool enabled_per_settings) override; 69 virtual bool allowPlugins(bool enabled_per_settings) override;
70 virtual bool allowScript(bool enabled_per_settings) override; 70 virtual bool allowScript(bool enabled_per_settings) override;
71 virtual bool allowScriptFromSource(bool enabled_per_settings, 71 virtual bool allowScriptFromSource(bool enabled_per_settings,
72 const blink::WebURL& script_url) override; 72 const blink::WebURL& script_url) override;
73 virtual bool allowStorage(bool local) override; 73 virtual bool allowStorage(bool local) override;
74 virtual bool allowReadFromClipboard(bool default_value) override; 74 virtual bool allowReadFromClipboard(bool default_value) override;
75 virtual bool allowWriteToClipboard(bool default_value) override; 75 virtual bool allowWriteToClipboard(bool default_value) override;
76 virtual bool allowMutationEvents(bool default_value) override; 76 virtual bool allowMutationEvents(bool default_value) override;
77 virtual bool allowPushState() override;
78 virtual void didNotAllowPlugins() override; 77 virtual void didNotAllowPlugins() override;
79 virtual void didNotAllowScript() override; 78 virtual void didNotAllowScript() override;
80 virtual bool allowDisplayingInsecureContent( 79 virtual bool allowDisplayingInsecureContent(
81 bool allowed_per_settings, 80 bool allowed_per_settings,
82 const blink::WebSecurityOrigin& context, 81 const blink::WebSecurityOrigin& context,
83 const blink::WebURL& url) override; 82 const blink::WebURL& url) override;
84 virtual bool allowRunningInsecureContent( 83 virtual bool allowRunningInsecureContent(
85 bool allowed_per_settings, 84 bool allowed_per_settings,
86 const blink::WebSecurityOrigin& context, 85 const blink::WebSecurityOrigin& context,
87 const blink::WebURL& url) override; 86 const blink::WebURL& url) override;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 typedef std::map<int, blink::WebPermissionCallbacks> PermissionRequestMap; 162 typedef std::map<int, blink::WebPermissionCallbacks> PermissionRequestMap;
164 PermissionRequestMap permission_requests_; 163 PermissionRequestMap permission_requests_;
165 164
166 // If true, IsWhitelistedForContentSettings will always return true. 165 // If true, IsWhitelistedForContentSettings will always return true.
167 const bool should_whitelist_; 166 const bool should_whitelist_;
168 167
169 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); 168 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver);
170 }; 169 };
171 170
172 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 171 #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