OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "aura/desktop_host.h" | 5 #include "ui/aura/desktop_host.h" |
6 | 6 |
7 #include "aura/desktop.h" | |
8 #include "aura/event.h" | |
9 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
10 #include "base/message_pump_x.h" | 8 #include "base/message_pump_x.h" |
| 9 #include "ui/aura/desktop.h" |
| 10 #include "ui/aura/event.h" |
11 | 11 |
12 #include <X11/Xlib.h> | 12 #include <X11/Xlib.h> |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 class DesktopHostLinux : public DesktopHost { | 18 class DesktopHostLinux : public DesktopHost { |
19 public: | 19 public: |
20 explicit DesktopHostLinux(const gfx::Rect& bounds); | 20 explicit DesktopHostLinux(const gfx::Rect& bounds); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 113 } |
114 | 114 |
115 } // namespace | 115 } // namespace |
116 | 116 |
117 // static | 117 // static |
118 DesktopHost* DesktopHost::Create(const gfx::Rect& bounds) { | 118 DesktopHost* DesktopHost::Create(const gfx::Rect& bounds) { |
119 return new DesktopHostLinux(bounds); | 119 return new DesktopHostLinux(bounds); |
120 } | 120 } |
121 | 121 |
122 } // namespace aura | 122 } // namespace aura |
OLD | NEW |