diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 23:54:20 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 23:54:20 +0000 |
commit | ce494a316fe0f80de3271fe2710691f14a9c44e1 (patch) | |
tree | 085de99b28ea75b111271f7b874cbcbef34e4e34 /chrome/browser/blocked_popup_container.cc | |
parent | ac577490a5c20950f63d655de37058dc41486e99 (diff) | |
download | chromium_src-ce494a316fe0f80de3271fe2710691f14a9c44e1.zip chromium_src-ce494a316fe0f80de3271fe2710691f14a9c44e1.tar.gz chromium_src-ce494a316fe0f80de3271fe2710691f14a9c44e1.tar.bz2 |
GTK: Implement BlockedPopupContainerView for linux.
This doesn't have:
- rounded corners
- gradient background
- animating in or out.
- graphical polish
but it is fucntionally complete.
http://crbug.com/12843
Review URL: http://codereview.chromium.org/118480
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/blocked_popup_container.cc')
-rw-r--r-- | chrome/browser/blocked_popup_container.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/blocked_popup_container.cc b/chrome/browser/blocked_popup_container.cc index 5c35c66..cee5b14 100644 --- a/chrome/browser/blocked_popup_container.cc +++ b/chrome/browser/blocked_popup_container.cc @@ -17,9 +17,9 @@ BlockedPopupContainer* BlockedPopupContainer::Create( BlockedPopupContainer* container = new BlockedPopupContainer(owner, profile->GetPrefs()); - // TODO(erg): Add different defined(OS_??) as they get subclasses of - // BlockedPopupContainerView. -#if defined(OS_WIN) + // TODO(port): This ifdef goes away once Mac peeps write a Cocoa + // implementation of BlockedPopupContainerView. +#if defined(OS_WIN) || defined(OS_LINUX) BlockedPopupContainerView* view = BlockedPopupContainerView::Create(container); container->set_view(view); @@ -180,7 +180,7 @@ void BlockedPopupContainer::RepositionBlockedPopupContainer() { view_->SetPosition(); } -TabContents* BlockedPopupContainer::GetTabContentsAt(size_t index) { +TabContents* BlockedPopupContainer::GetTabContentsAt(size_t index) const { return blocked_popups_[index].tab_contents; } |