| 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 #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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |