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

Unified Diff: chrome/browser/blocked_popup_container.h

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 | « no previous file | chrome/browser/blocked_popup_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/blocked_popup_container.h
===================================================================
--- chrome/browser/blocked_popup_container.h (revision 19942)
+++ chrome/browser/blocked_popup_container.h (working copy)
@@ -198,6 +198,12 @@
// string is hostname. bool is whitelisted status.
typedef std::map<std::string, bool> PopupHosts;
+ // Creates a BlockedPopupContainer, anchoring the container to the lower
+ // right corner using the given BlockedPopupContainerView. Use only for
+ // testing.
+ static BlockedPopupContainer* Create(TabContents* owner, Profile* profile,
+ BlockedPopupContainerView* view);
+
// Hides the UI portion of the container.
void HideSelf();
@@ -217,6 +223,7 @@
private:
friend class BlockedPopupContainerImpl;
friend class BlockedPopupContainerTest;
+ friend class BlockedPopupContainerControllerTest;
// string is hostname.
typedef std::set<std::string> Whitelist;
« no previous file with comments | « no previous file | chrome/browser/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698