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

Unified Diff: chrome/browser/blocked_popup_container.cc

Issue 149145: Add remaining functionality for popup blocker: popup menu to unblock individu... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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/blocked_popup_container.h ('k') | chrome/browser/cocoa/blocked_popup_container_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/blocked_popup_container.cc
===================================================================
--- chrome/browser/blocked_popup_container.cc (revision 19942)
+++ chrome/browser/blocked_popup_container.cc (working copy)
@@ -22,6 +22,15 @@
}
// static
+BlockedPopupContainer* BlockedPopupContainer::Create(
+ TabContents* owner, Profile* profile, BlockedPopupContainerView* view) {
+ BlockedPopupContainer* container =
+ new BlockedPopupContainer(owner, profile->GetPrefs());
+ container->set_view(view);
+ return container;
+}
+
+// static
void BlockedPopupContainer::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterListPref(prefs::kPopupWhitelistedHosts);
}
« no previous file with comments | « chrome/browser/blocked_popup_container.h ('k') | chrome/browser/cocoa/blocked_popup_container_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698