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

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: fix rebase 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
« no previous file with comments | « content/shell/DEPS ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_aura.cc
diff --git a/content/shell/shell_aura.cc b/content/shell/shell_aura.cc
index 235cdd96e8b188acaedae26714177de70d35d7e1..22feb7723b976867a8a710fb000e01f6396f37df 100644
--- a/content/shell/shell_aura.cc
+++ b/content/shell/shell_aura.cc
@@ -6,10 +6,8 @@
#include "base/command_line.h"
#include "base/utf_string_conversions.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/views/widget/desktop_aura/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 views::DesktopStackingClient();
gfx::Screen::SetScreenInstance(
« no previous file with comments | « content/shell/DEPS ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698