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

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

Issue 2880033003: Apply MD style to Linux avatar buttons. (Closed)
Patch Set: tweaks 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 8216b743b3e9628537f26b3fb9029046eabf6621..934f58019f530a6167a8aad137e770f00fa28c82 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -543,6 +543,11 @@ bool ProfileChooserView::IsShowing() {
return profile_bubble_ != NULL;
}
+// static
+views::Widget* ProfileChooserView::GetCurrentBubbleWidget() {
+ return profile_bubble_ ? profile_bubble_->GetWidget() : nullptr;
+}
+
// static
void ProfileChooserView::Hide() {
if (IsShowing())

Powered by Google App Engine
This is Rietveld 408576698