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

Unified Diff: ash/app_list/app_list_delegate_impl.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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: ash/app_list/app_list_delegate_impl.cc
diff --git a/ash/app_list/app_list_delegate_impl.cc b/ash/app_list/app_list_delegate_impl.cc
index 1be128f98b0d6c8bb6ede7e2a802d911c52f3cfa..ee61b8023afd3dff3cac333fc48935c9efd2c49d 100644
--- a/ash/app_list/app_list_delegate_impl.cc
+++ b/ash/app_list/app_list_delegate_impl.cc
@@ -9,7 +9,7 @@
#include "ash/shelf/shelf_widget.h"
#include "ash/shelf/wm_shelf.h"
#include "ash/shell.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "ui/app_list/presenter/app_list.h"
namespace ash {
@@ -24,7 +24,8 @@ AppListDelegateImpl::~AppListDelegateImpl() {
void AppListDelegateImpl::OnAppListVisibilityChanged(bool visible,
int64_t display_id) {
- WmWindow* root_window = WmShell::Get()->GetRootWindowForDisplayId(display_id);
+ WmWindow* root_window =
+ ShellPort::Get()->GetRootWindowForDisplayId(display_id);
AppListButton* app_list_button =
WmShelf::ForWindow(root_window)->shelf_widget()->GetAppListButton();
if (!app_list_button)

Powered by Google App Engine
This is Rietveld 408576698