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

Unified Diff: content/shell/shell_aura.cc

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios fix Created 8 years, 1 month 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: content/shell/shell_aura.cc
diff --git a/content/shell/shell_aura.cc b/content/shell/shell_aura.cc
index fa5891485419cbdc17ab42601b30003c57f95c23..a72f7c43cf6e8fd044744501536ededed616fb0e 100644
--- a/content/shell/shell_aura.cc
+++ b/content/shell/shell_aura.cc
@@ -7,10 +7,8 @@
#include "base/command_line.h"
#include "base/utf_string_conversions.h"
#include "ui/aura/desktop/desktop_screen.h"
-#include "ui/aura/display_manager.h"
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
-#include "ui/aura/single_display_manager.h"
#include "ui/aura/window.h"
#include "ui/base/accessibility/accessibility_types.h"
#include "ui/base/clipboard/clipboard.h"
@@ -29,9 +27,9 @@
#include "ui/views/widget/widget_delegate.h"
#if defined(OS_CHROMEOS)
-#include "ash/screen_ash.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "content/shell/shell_stacking_client_ash.h"
+#include "ui/aura/test/test_screen.h"
#else
#include "ui/aura/desktop/desktop_stacking_client.h"
#endif
@@ -283,11 +281,10 @@ void Shell::PlatformInitialize() {
#if defined(OS_CHROMEOS)
chromeos::DBusThreadManager::Initialize();
#endif
- aura::Env::GetInstance()->SetDisplayManager(new aura::SingleDisplayManager);
#if defined(OS_CHROMEOS)
stacking_client_ = new content::ShellStackingClientAsh();
gfx::Screen::SetScreenInstance(
- gfx::SCREEN_TYPE_NATIVE, new ash::ScreenAsh);
+ gfx::SCREEN_TYPE_NATIVE, new aura::TestScreen);
#else
stacking_client_ = new aura::DesktopStackingClient();
gfx::Screen::SetScreenInstance(

Powered by Google App Engine
This is Rietveld 408576698