summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/blocked_popup_container.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 22:14:51 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 22:14:51 +0000
commit80b54ab8f2ba05912a28acaa311336a3728619f1 (patch)
tree623b589d915dc5fcdf5f9a477de13aee950b00e4 /chrome/browser/views/blocked_popup_container.h
parentc6e6700f0ad9075d6ef675dd4de0626570929000 (diff)
downloadchromium_src-80b54ab8f2ba05912a28acaa311336a3728619f1.zip
chromium_src-80b54ab8f2ba05912a28acaa311336a3728619f1.tar.gz
chromium_src-80b54ab8f2ba05912a28acaa311336a3728619f1.tar.bz2
Style fixes to BlockedPopupContainer before I submit
it for my readability review. Review URL: http://codereview.chromium.org/10606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/blocked_popup_container.h')
-rw-r--r--chrome/browser/views/blocked_popup_container.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/views/blocked_popup_container.h b/chrome/browser/views/blocked_popup_container.h
index de59a1e..0ae552e 100644
--- a/chrome/browser/views/blocked_popup_container.h
+++ b/chrome/browser/views/blocked_popup_container.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_
#define CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_
+#include <utility>
#include <vector>
#include "base/gfx/rect.h"
@@ -129,14 +130,15 @@ class BlockedPopupContainer : public ConstrainedWindow,
// The TabContents that owns and constrains this BlockedPopupContainer.
TabContents* owner_;
- // TabContents.
+ // The TabContents and initial positions of all blocked popups.
std::vector<std::pair<TabContents*, gfx::Rect> > blocked_popups_;
// Our associated view object.
BlockedPopupContainerView* container_view_;
- // Link to the show blocked popup preference. Used to both determine whether
- // we should show ourself to the user...
+ // Link to the block popups preference. Used to both determine whether we
+ // should show ourself to the user and to toggle whether we should show this
+ // notification to the user.
BooleanPrefMember block_popup_pref_;
// Once the container is hidden, this is set to prevent it from reappearing.