diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 01:48:35 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 01:48:35 +0000 |
commit | 74f34b094a7b21f0c057f493abee5db30b988592 (patch) | |
tree | f3e7e9169b46331718e9ae7932f9108644dee0db /chrome/browser/views/browser_bubble_win.cc | |
parent | 17b4f9a87ce73e5f6d87c21c5b593cbd23f797fa (diff) | |
download | chromium_src-74f34b094a7b21f0c057f493abee5db30b988592.zip chromium_src-74f34b094a7b21f0c057f493abee5db30b988592.tar.gz chromium_src-74f34b094a7b21f0c057f493abee5db30b988592.tar.bz2 |
Make sure we don't dismiss extension popups when the focus
changes for a child window of the popup, as it is the case
with select popups.
BUG=28110
TEST=Make sure extension popups are still working as expected.
Open an extension popup with a select popup (combo box)
in it. Click on the select to bring up its popup, the
extension popup should stay opened.
Review URL: http://codereview.chromium.org/459005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_bubble_win.cc')
-rw-r--r-- | chrome/browser/views/browser_bubble_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/browser_bubble_win.cc b/chrome/browser/views/browser_bubble_win.cc index 33a57e1..076e4e6 100644 --- a/chrome/browser/views/browser_bubble_win.cc +++ b/chrome/browser/views/browser_bubble_win.cc @@ -32,7 +32,7 @@ class BubbleWidget : public views::WidgetWin { if (IsActive()) { BrowserBubble::Delegate* delegate = bubble_->delegate(); if (delegate) - delegate->BubbleLostFocus(bubble_); + delegate->BubbleLostFocus(bubble_, NULL); } views::WidgetWin::Close(); } @@ -41,7 +41,7 @@ class BubbleWidget : public views::WidgetWin { if (IsActive()) { BrowserBubble::Delegate* delegate = bubble_->delegate(); if (delegate) - delegate->BubbleLostFocus(bubble_); + delegate->BubbleLostFocus(bubble_, NULL); } views::WidgetWin::Hide(); } @@ -57,7 +57,7 @@ class BubbleWidget : public views::WidgetWin { } if (action == WA_INACTIVE && !closed_) { - delegate->BubbleLostFocus(bubble_); + delegate->BubbleLostFocus(bubble_, window); } } |