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/views/widget/desktop_aura/x11_desktop_handler.h" | 5 #include "ui/views/widget/desktop_aura/x11_desktop_handler.h" |
6 | 6 |
7 #include <X11/Xatom.h> | 7 #include <X11/Xatom.h> |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
12 #include "ui/aura/root_window.h" | 12 #include "ui/aura/window_event_dispatcher.h" |
13 #include "ui/base/x/x11_util.h" | 13 #include "ui/base/x/x11_util.h" |
14 | 14 |
15 #if !defined(OS_CHROMEOS) | 15 #if !defined(OS_CHROMEOS) |
16 #include "ui/views/ime/input_method.h" | 16 #include "ui/views/ime/input_method.h" |
17 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h" | 17 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h" |
18 #endif | 18 #endif |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 const char* kAtomsToCache[] = { | 22 const char* kAtomsToCache[] = { |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 return *it; | 230 return *it; |
231 } | 231 } |
232 | 232 |
233 // If we reached that point, that means we have not found an appropriate | 233 // If we reached that point, that means we have not found an appropriate |
234 // window to activate. There is nothing we can do about it and the caller | 234 // window to activate. There is nothing we can do about it and the caller |
235 // should take care of doing the right thing. | 235 // should take care of doing the right thing. |
236 return 0; | 236 return 0; |
237 } | 237 } |
238 | 238 |
239 } // namespace views | 239 } // namespace views |
OLD | NEW |