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

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

Issue 2880033003: Apply MD style to Linux avatar buttons. (Closed)
Patch Set: rebase Created 3 years, 7 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 7140f713e67db214b6137d73cb584d0413ef11e8..69700e5b90fbe35b8050342eb47c64c55b0367c1 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -530,6 +530,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