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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.h
diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h
index b7fae44afd50877d4401165fe0df862e3edc4354..52cf8cd6028ba9b28d73e10d87f2a23f354eecd4 100644
--- a/chrome/renderer/chrome_render_view_observer.h
+++ b/chrome/renderer/chrome_render_view_observer.h
@@ -113,6 +113,7 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
const WebKit::WebDocument& document) OVERRIDE;
virtual bool allowMutationEvents(const WebKit::WebDocument&,
bool default_value) OVERRIDE;
+ virtual bool allowPushState(const WebKit::WebDocument&) OVERRIDE;
virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE;
virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE;
virtual bool allowDisplayingInsecureContent(
« 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