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

Unified Diff: chrome/renderer/chrome_render_view_observer.h

Issue 10808113: Only allows extensions to create HTML notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/notifications_apitest.cc ('k') | 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 55ff6c4aae2de65df0f721b30876a7dce9148f52..8691ad21d32027473180c70b33e95bbeadc877e6 100644
--- a/chrome/renderer/chrome_render_view_observer.h
+++ b/chrome/renderer/chrome_render_view_observer.h
@@ -105,6 +105,8 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
virtual bool allowWriteToClipboard(WebKit::WebFrame* frame,
bool default_value) OVERRIDE;
virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE;
+ virtual bool allowHTMLNotifications(
+ const WebKit::WebDocument& document) OVERRIDE;
virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE;
virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE;
virtual bool allowDisplayingInsecureContent(
« no previous file with comments | « chrome/browser/extensions/notifications_apitest.cc ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698