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

Unified Diff: chrome/browser/views/info_bubble.h

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 | « chrome/browser/chromeos/volume_bubble.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/info_bubble.h
===================================================================
--- chrome/browser/views/info_bubble.h (revision 50336)
+++ chrome/browser/views/info_bubble.h (working copy)
@@ -196,6 +196,16 @@
views::View* contents,
InfoBubbleDelegate* delegate);
+#if defined(OS_CHROMEOS)
+ // Shows the InfoBubble not grabbing the focus. Others are the same as above.
+ // TYPE_POPUP widget is used to achieve the focusless effect.
+ static InfoBubble* ShowFocusless(views::Widget* parent,
+ const gfx::Rect& position_relative_to,
+ BubbleBorder::ArrowLocation arrow_location,
+ views::View* contents,
+ InfoBubbleDelegate* delegate);
+#endif
+
// Resizes and potentially moves the InfoBubble to best accommodate the
// contents preferred size.
void SizeToContents();
« no previous file with comments | « chrome/browser/chromeos/volume_bubble.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698