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

Side by Side Diff: ui/views/widget/desktop_aura/x11_desktop_handler.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698