| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/env.h" | 5 #include "ui/aura/env.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "ui/aura/cursor_manager.h" | |
| 9 #include "ui/aura/env_observer.h" | 8 #include "ui/aura/env_observer.h" |
| 10 #include "ui/aura/event_filter.h" | 9 #include "ui/aura/event_filter.h" |
| 11 #include "ui/aura/display_manager.h" | 10 #include "ui/aura/display_manager.h" |
| 12 #include "ui/aura/root_window_host.h" | 11 #include "ui/aura/root_window_host.h" |
| 13 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 14 #include "ui/compositor/compositor.h" | 13 #include "ui/compositor/compositor.h" |
| 15 #include "ui/compositor/compositor_switches.h" | 14 #include "ui/compositor/compositor_switches.h" |
| 16 | 15 |
| 17 #if defined(USE_X11) | 16 #if defined(USE_X11) |
| 18 #include "ui/aura/display_change_observer_x11.h" | 17 #include "ui/aura/display_change_observer_x11.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 ui::Compositor::Initialize( | 89 ui::Compositor::Initialize( |
| 91 CommandLine::ForCurrentProcess()->HasSwitch( | 90 CommandLine::ForCurrentProcess()->HasSwitch( |
| 92 switches::kUIEnableThreadedCompositing)); | 91 switches::kUIEnableThreadedCompositing)); |
| 93 } | 92 } |
| 94 | 93 |
| 95 void Env::NotifyWindowInitialized(Window* window) { | 94 void Env::NotifyWindowInitialized(Window* window) { |
| 96 FOR_EACH_OBSERVER(EnvObserver, observers_, OnWindowInitialized(window)); | 95 FOR_EACH_OBSERVER(EnvObserver, observers_, OnWindowInitialized(window)); |
| 97 } | 96 } |
| 98 | 97 |
| 99 } // namespace aura | 98 } // namespace aura |
| OLD | NEW |