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

Unified Diff: chrome/browser/ui/blocked_content/blocked_content_container.h

Issue 7096016: Remove JS dialog dependency from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: now a tc delegate Created 9 years, 7 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
Index: chrome/browser/ui/blocked_content/blocked_content_container.h
diff --git a/chrome/browser/ui/blocked_content/blocked_content_container.h b/chrome/browser/ui/blocked_content/blocked_content_container.h
index fb41d224291d31f6c2f07669423778c6fb551d59..b6ecde9030aa876ac4808846bf210eaf336beb1d 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_container.h
+++ b/chrome/browser/ui/blocked_content/blocked_content_container.h
@@ -94,6 +94,9 @@ class BlockedContentContainer : public BlockedContentTabHelperDelegate,
// Ignored; BlockedContentContainer doesn't display a URL bar.
virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
+ // Always returns true.
+ virtual bool ShouldSuppressDialogs();
+
// Maximum number of blocked contents we allow. No page should really need
// this many anyway. If reached it typically means there is a compromised
// renderer.

Powered by Google App Engine
This is Rietveld 408576698