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

Side by Side Diff: ui/aura/window_tree_host_x11.cc

Issue 1602173005: Add PlatformWindow/Event related code for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final fixes for comments + tests. Created 4 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
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/aura/window_tree_host_x11.h" 5 #include "ui/aura/window_tree_host_x11.h"
6 6
7 #include <strings.h> 7 #include <strings.h>
8 #include <X11/cursorfont.h> 8 #include <X11/cursorfont.h>
9 #include <X11/extensions/XInput2.h> 9 #include <X11/extensions/XInput2.h>
10 #include <X11/extensions/Xrandr.h> 10 #include <X11/extensions/Xrandr.h>
(...skipping 27 matching lines...) Expand all
38 #include "ui/compositor/dip_util.h" 38 #include "ui/compositor/dip_util.h"
39 #include "ui/compositor/layer.h" 39 #include "ui/compositor/layer.h"
40 #include "ui/events/devices/x11/device_data_manager_x11.h" 40 #include "ui/events/devices/x11/device_data_manager_x11.h"
41 #include "ui/events/devices/x11/device_list_cache_x11.h" 41 #include "ui/events/devices/x11/device_list_cache_x11.h"
42 #include "ui/events/devices/x11/touch_factory_x11.h" 42 #include "ui/events/devices/x11/touch_factory_x11.h"
43 #include "ui/events/event.h" 43 #include "ui/events/event.h"
44 #include "ui/events/event_switches.h" 44 #include "ui/events/event_switches.h"
45 #include "ui/events/event_utils.h" 45 #include "ui/events/event_utils.h"
46 #include "ui/events/keycodes/keyboard_codes.h" 46 #include "ui/events/keycodes/keyboard_codes.h"
47 #include "ui/events/platform/platform_event_observer.h" 47 #include "ui/events/platform/platform_event_observer.h"
48 #include "ui/events/platform/platform_event_source.h"
48 #include "ui/events/platform/x11/x11_event_source.h" 49 #include "ui/events/platform/x11/x11_event_source.h"
49 #include "ui/gfx/screen.h" 50 #include "ui/gfx/screen.h"
50 51
51 using std::max; 52 using std::max;
52 using std::min; 53 using std::min;
53 54
54 namespace aura { 55 namespace aura {
55 56
56 namespace { 57 namespace {
57 58
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 } 559 }
559 560
560 namespace test { 561 namespace test {
561 562
562 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) { 563 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) {
563 default_override_redirect = override_redirect; 564 default_override_redirect = override_redirect;
564 } 565 }
565 566
566 } // namespace test 567 } // namespace test
567 } // namespace aura 568 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698