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

Unified Diff: chrome/browser/chromeos/volume_bubble.cc

Issue 2874004: InfoBubble::ShowFocusless() added not to grab the focus when being shown.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months 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 | « no previous file | chrome/browser/views/info_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/volume_bubble.cc
===================================================================
--- chrome/browser/chromeos/volume_bubble.cc (revision 50336)
+++ chrome/browser/chromeos/volume_bubble.cc (working copy)
@@ -83,8 +83,8 @@
kVolumeBubbleXRatio * (bounds.width() - view_size.width());
const int y = bounds.height() - view_size.height() / 2 -
kVolumeBubbleBottomGap;
- bubble_ = InfoBubble::Show(widget, gfx::Rect(x, y, 0, 20),
- BubbleBorder::FLOAT, view_, this);
+ bubble_ = InfoBubble::ShowFocusless(widget, gfx::Rect(x, y, 0, 20),
+ BubbleBorder::FLOAT, view_, this);
} else {
DCHECK(view_);
timeout_timer_.Stop();
« no previous file with comments | « no previous file | chrome/browser/views/info_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698