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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.h

Issue 425223003: Translate: Have the bubble not to steal focus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's review Created 6 years, 5 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
Index: chrome/browser/ui/views/translate/translate_bubble_view.h
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.h b/chrome/browser/ui/views/translate/translate_bubble_view.h
index e7d6444ace99879c65600b775f4af4a4f05e73fe..090c6526469c384ef1cf4fc9e34931454f00e7a0 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.h
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.h
@@ -51,6 +51,9 @@ class TranslateBubbleView : public views::BubbleDelegateView,
translate::TranslateErrors::Type error_type,
bool is_user_gesture);
+ // Closes the current bubble if existing.
+ static void CloseBubble();
+
// If true, the Translate bubble is being shown.
static bool IsShowing();
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/translate/translate_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698