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

Unified Diff: chrome/browser/extensions/extension_popup_host.cc

Issue 459005: Make sure we don't dismiss extension popups when the focus... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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
Index: chrome/browser/extensions/extension_popup_host.cc
===================================================================
--- chrome/browser/extensions/extension_popup_host.cc (revision 33297)
+++ chrome/browser/extensions/extension_popup_host.cc (working copy)
@@ -55,7 +55,8 @@
void ExtensionPopupHost::BubbleGotFocus(BrowserBubble* bubble) {
}
-void ExtensionPopupHost::BubbleLostFocus(BrowserBubble* bubble) {
+void ExtensionPopupHost::BubbleLostFocus(BrowserBubble* bubble,
+ gfx::NativeView focused_view) {
// TODO(twiz): Dismiss the pop-up upon loss of focus of the bubble, but not
// if the focus is transitioning to the host which owns the popup!
// DismissPopup();

Powered by Google App Engine
This is Rietveld 408576698