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

Unified Diff: ash/common/mojo_interface_factory.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback Created 3 years, 9 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/common/keyboard/keyboard_ui.cc ('k') | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/mojo_interface_factory.cc
diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
index 975c6e807d4842c31e33b478123413ae256619aa..e18be584b7aafed4bef6f7260ae25d23db2ca8d7 100644
--- a/ash/common/mojo_interface_factory.cc
+++ b/ash/common/mojo_interface_factory.cc
@@ -19,7 +19,6 @@
#include "ash/common/system/tray/system_tray_controller.h"
#include "ash/common/wallpaper/wallpaper_controller.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "base/bind.h"
#include "services/service_manager/public/cpp/interface_registry.h"
@@ -69,7 +68,7 @@ void BindShelfRequestOnMainThread(mojom::ShelfControllerRequest request) {
void BindShutdownControllerRequestOnMainThread(
mojom::ShutdownControllerRequest request) {
- WmShell::Get()->shutdown_controller()->BindRequest(std::move(request));
+ Shell::Get()->shutdown_controller()->BindRequest(std::move(request));
}
void BindSystemTrayRequestOnMainThread(mojom::SystemTrayRequest request) {
@@ -81,7 +80,7 @@ void BindTouchViewRequestOnMainThread(mojom::TouchViewManagerRequest request) {
}
void BindVpnListRequestOnMainThread(mojom::VpnListRequest request) {
- WmShell::Get()->vpn_list()->BindRequest(std::move(request));
+ Shell::Get()->vpn_list()->BindRequest(std::move(request));
}
void BindWallpaperRequestOnMainThread(
« no previous file with comments | « ash/common/keyboard/keyboard_ui.cc ('k') | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698