Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2124)

Unified Diff: chrome/browser/views/browser_bubble_win.cc

Issue 415001: Merge 32335... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/browser_actions_container.cc ('k') | chrome/browser/views/extensions/extension_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/browser_bubble_win.cc
===================================================================
--- chrome/browser/views/browser_bubble_win.cc (revision 32528)
+++ chrome/browser/views/browser_bubble_win.cc (working copy)
@@ -58,11 +58,15 @@
if (action == WA_INACTIVE && !closed_) {
delegate->BubbleLostFocus(bubble_);
- } else if (action == WA_ACTIVE) {
- delegate->BubbleGotFocus(bubble_);
}
}
+ virtual void OnSetFocus(HWND focused_window) {
+ BrowserBubble::Delegate* delegate = bubble_->delegate();
+ if (delegate)
+ delegate->BubbleGotFocus(bubble_);
+ }
+
private:
bool closed_;
BrowserBubble* bubble_;
« no previous file with comments | « chrome/browser/views/browser_actions_container.cc ('k') | chrome/browser/views/extensions/extension_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698