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(); |