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

Unified Diff: ash/system/tray/tray_background_view.cc

Issue 2901273003: chromeos: Remove TrayBubbleView::Delegate::OnBeforeBubbleWidgetInit (Closed)
Patch Set: nit 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
« no previous file with comments | « ash/system/tray/tray_background_view.h ('k') | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4a20f8eefbffd2fd8c5068e298f6f18680f1041d..c16c3351c2fb64bed6035429bdaf1ea796f4e38b 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.h"
#include "ash/shelf/shelf_constants.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>(
« no previous file with comments | « ash/system/tray/tray_background_view.h ('k') | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698