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

Unified Diff: chrome/browser/ui/ash/ash_init.cc

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address most comments, except manifest, need to sync. Created 4 years, 2 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: chrome/browser/ui/ash/ash_init.cc
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc
index 6e7ebd3923de3569a1c1d80fb7127d7fdd9bb1ba..5532f53e95bd37a5f25c7400fda694e0ac89ae40 100644
--- a/chrome/browser/ui/ash/ash_init.cc
+++ b/chrome/browser/ui/ash/ash_init.cc
@@ -26,7 +26,6 @@
#include "chrome/browser/ui/ash/chrome_shell_content_state.h"
#include "chrome/browser/ui/ash/chrome_shell_delegate.h"
#include "chrome/browser/ui/ash/ime_controller_chromeos.h"
-#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h"
#include "chrome/browser/ui/ash/volume_controller_chromeos.h"
#include "chrome/common/chrome_switches.h"
#include "chromeos/accelerometer/accelerometer_reader.h"
@@ -97,11 +96,6 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) {
ash::Shell::GetPrimaryRootWindow()->GetHost()->Show();
}
-void InitializeMash() {
- DCHECK(!ash::Shell::HasInstance());
- ChromeLauncherControllerMus::CreateInstance()->Init();
-}
-
void CloseAsh() {
if (ash::Shell::HasInstance()) {
ash::Shell::DeleteInstance();

Powered by Google App Engine
This is Rietveld 408576698