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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2832223003: Update profile switcher button on Linux. (Closed)
Patch Set: self review Created 3 years, 8 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/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 5018e8e2f8c96ceb857cb6ca3029bbee1f3a8659..f98aa228264ca15bf4b2b5fcefb5d0994edff05b 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -546,6 +546,11 @@ bool ProfileChooserView::IsShowing() {
}
// static
+views::Widget* ProfileChooserView::GetCurrentBubbleWidget() {
+ return profile_bubble_ ? profile_bubble_->GetWidget() : nullptr;
+}
+
+// static
void ProfileChooserView::Hide() {
if (IsShowing())
profile_bubble_->GetWidget()->Close();

Powered by Google App Engine
This is Rietveld 408576698