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

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

Issue 11196055: Disable pushState and the rest of the history API in packaged apps via runtime-enabled features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/chrome_render_view_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_CHROME_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; 106 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE;
107 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, 107 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame,
108 bool default_value) OVERRIDE; 108 bool default_value) OVERRIDE;
109 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, 109 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame,
110 bool default_value) OVERRIDE; 110 bool default_value) OVERRIDE;
111 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE; 111 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE;
112 virtual bool allowHTMLNotifications( 112 virtual bool allowHTMLNotifications(
113 const WebKit::WebDocument& document) OVERRIDE; 113 const WebKit::WebDocument& document) OVERRIDE;
114 virtual bool allowMutationEvents(const WebKit::WebDocument&, 114 virtual bool allowMutationEvents(const WebKit::WebDocument&,
115 bool default_value) OVERRIDE; 115 bool default_value) OVERRIDE;
116 virtual bool allowPushState(const WebKit::WebDocument&) OVERRIDE;
116 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; 117 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE;
117 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; 118 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE;
118 virtual bool allowDisplayingInsecureContent( 119 virtual bool allowDisplayingInsecureContent(
119 WebKit::WebFrame* frame, 120 WebKit::WebFrame* frame,
120 bool allowed_per_settings, 121 bool allowed_per_settings,
121 const WebKit::WebSecurityOrigin& context, 122 const WebKit::WebSecurityOrigin& context,
122 const WebKit::WebURL& url) OVERRIDE; 123 const WebKit::WebURL& url) OVERRIDE;
123 virtual bool allowRunningInsecureContent( 124 virtual bool allowRunningInsecureContent(
124 WebKit::WebFrame* frame, 125 WebKit::WebFrame* frame,
125 bool allowed_per_settings, 126 bool allowed_per_settings,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // A color page overlay when visually de-emaphasized. 229 // A color page overlay when visually de-emaphasized.
229 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; 230 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_;
230 231
231 // Used to delay calling CapturePageInfo. 232 // Used to delay calling CapturePageInfo.
232 base::Timer capture_timer_; 233 base::Timer capture_timer_;
233 234
234 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 235 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
235 }; 236 };
236 237
237 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 238 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698