Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index fa8e816da13b901257693630a59bdc79b62b35df..d4a7ea7cf3549300f7472da60e89574c6d5c03d9 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -7,6 +7,7 @@ |
#include <algorithm> |
#include "ash/ash_constants.h" |
+#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/shelf/shelf_constants.h" |
#include "ash/shelf/wm_shelf.h" |
#include "ash/shell.h" |
@@ -353,6 +354,12 @@ gfx::Insets TrayBackgroundView::GetBubbleAnchorInsets() const { |
} |
} |
+aura::Window* TrayBackgroundView::GetBubbleWindowContainer() const { |
+ return Shell::GetContainer( |
+ tray_container()->GetWidget()->GetNativeWindow()->GetRootWindow(), |
+ kShellWindowId_SettingBubbleContainer); |
+} |
+ |
std::unique_ptr<views::InkDropMask> TrayBackgroundView::CreateInkDropMask() |
const { |
return base::MakeUnique<views::RoundRectInkDropMask>( |