diff options
Diffstat (limited to 'chrome/browser/blocked_popup_container.h')
-rw-r--r-- | chrome/browser/blocked_popup_container.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/blocked_popup_container.h b/chrome/browser/blocked_popup_container.h index f0b0775..c632438 100644 --- a/chrome/browser/blocked_popup_container.h +++ b/chrome/browser/blocked_popup_container.h @@ -198,6 +198,12 @@ class BlockedPopupContainer : public TabContentsDelegate, // 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 @@ class BlockedPopupContainer : public TabContentsDelegate, private: friend class BlockedPopupContainerImpl; friend class BlockedPopupContainerTest; + friend class BlockedPopupContainerControllerTest; // string is hostname. typedef std::set<std::string> Whitelist; |