summaryrefslogtreecommitdiffstats
path: root/chrome/browser/blocked_popup_container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/blocked_popup_container.cc')
-rw-r--r--chrome/browser/blocked_popup_container.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/blocked_popup_container.cc b/chrome/browser/blocked_popup_container.cc
index fdf1530..d349314 100644
--- a/chrome/browser/blocked_popup_container.cc
+++ b/chrome/browser/blocked_popup_container.cc
@@ -5,10 +5,21 @@
#include "chrome/browser/blocked_popup_container.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/rect.h"
// static
const size_t BlockedPopupContainer::kImpossibleNumberOfPopups = 30;
+struct BlockedPopupContainer::BlockedPopup {
+ BlockedPopup(TabContents* tab_contents,
+ const gfx::Rect& bounds)
+ : tab_contents(tab_contents), bounds(bounds) {
+ }
+
+ TabContents* tab_contents;
+ gfx::Rect bounds;
+};
+
BlockedPopupContainer::BlockedPopupContainer(TabContents* owner)
: owner_(owner) {
}