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

Unified Diff: ash/shell/window_type_launcher.cc

Issue 2304443002: ash: Move ShelfWidget ownership to WmShelf and refactor access to it (Closed)
Patch Set: review comments Created 4 years, 4 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/shell.cc ('k') | ash/test/status_area_widget_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/window_type_launcher.cc
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
index 648445e136080078adbbfe6cc8f7ee5152615955..eeb70a78cd1e1afe7f46ba90701f481ef481a5d4 100644
--- a/ash/shell/window_type_launcher.cc
+++ b/ash/shell/window_type_launcher.cc
@@ -7,7 +7,6 @@
#include <utility>
#include "ash/common/session/session_state_delegate.h"
-#include "ash/common/shelf/shelf_widget.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/system/status_area_widget.h"
#include "ash/common/system/web_notification/web_notification_tray.h"
@@ -318,8 +317,7 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
message_center::RichNotificationData(), NULL /* delegate */));
Shell::GetPrimaryRootWindowController()
- ->shelf_widget()
- ->status_area_widget()
+ ->GetStatusAreaWidget()
->web_notification_tray()
->message_center()
->AddNotification(std::move(notification));
« no previous file with comments | « ash/shell.cc ('k') | ash/test/status_area_widget_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698