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

Side by Side Diff: ui/aura/root_window_host_x11.h

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sdf Created 7 years, 3 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
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_AURA_ROOT_WINDOW_HOST_X11_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_X11_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Update is_internal_display_ based on delegate_ state 96 // Update is_internal_display_ based on delegate_ state
97 void UpdateIsInternalDisplay(); 97 void UpdateIsInternalDisplay();
98 98
99 // Set the CrOS touchpad "tap paused" property. It is used to temporarily 99 // Set the CrOS touchpad "tap paused" property. It is used to temporarily
100 // turn off the Tap-to-click feature when the mouse pointer is invisible. 100 // turn off the Tap-to-click feature when the mouse pointer is invisible.
101 void SetCrOSTapPaused(bool state); 101 void SetCrOSTapPaused(bool state);
102 102
103 RootWindowHostDelegate* delegate_; 103 RootWindowHostDelegate* delegate_;
104 104
105 // The display and the native X window hosting the root window. 105 // The display and the native X window hosting the root window.
106 Display* xdisplay_; 106 XDisplay* xdisplay_;
107 ::Window xwindow_; 107 ::Window xwindow_;
108 108
109 // The native root window. 109 // The native root window.
110 ::Window x_root_window_; 110 ::Window x_root_window_;
111 111
112 // Current Aura cursor. 112 // Current Aura cursor.
113 gfx::NativeCursor current_cursor_; 113 gfx::NativeCursor current_cursor_;
114 114
115 // Is the window mapped to the screen? 115 // Is the window mapped to the screen?
116 bool window_mapped_; 116 bool window_mapped_;
(...skipping 30 matching lines...) Expand all
147 namespace test { 147 namespace test {
148 148
149 // Set the default value of the override redirect flag used to 149 // Set the default value of the override redirect flag used to
150 // create a X window for RootWindowHostX11. 150 // create a X window for RootWindowHostX11.
151 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 151 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
152 152
153 } // namespace test 153 } // namespace test
154 } // namespace aura 154 } // namespace aura
155 155
156 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_ 156 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698