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

Unified Diff: ash/shell.cc

Issue 9808010: Keep the mouse cursor within desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 194c4e528739bdc61b63442956bb356a40a99977..e033a5a6418a8103d445cb1c275df417a29f489a 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -91,10 +91,6 @@
#include "ash/accelerators/nested_dispatcher_controller.h"
#endif
-#if defined(USE_X11)
-#include "ui/aura/monitor_change_observer_x11.h"
-#endif
-
namespace ash {
namespace {
@@ -579,9 +575,6 @@ Shell* Shell::CreateInstance(ShellDelegate* delegate) {
CHECK(!instance_);
aura::Env::GetInstance()->SetMonitorManager(
new internal::MultiMonitorManager());
-#if defined(USE_X11)
- aura::Env::GetInstance()->monitor_change_observer()->NotifyMonitorChange();
-#endif
instance_ = new Shell(delegate);
instance_->Init();
return instance_;
« no previous file with comments | « ash/monitor/multi_monitor_manager.cc ('k') | base/message_pump_x.h » ('j') | ui/aura/env.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698