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_LINUX_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 // The bounds of |xwindow_|. | 112 // The bounds of |xwindow_|. |
113 gfx::Rect bounds_; | 113 gfx::Rect bounds_; |
114 | 114 |
115 // The bounds of |x_root_window_|. | 115 // The bounds of |x_root_window_|. |
116 gfx::Rect x_root_bounds_; | 116 gfx::Rect x_root_bounds_; |
117 | 117 |
118 // True if the window should be focused when the window is shown. | 118 // True if the window should be focused when the window is shown. |
119 bool focus_when_shown_; | 119 bool focus_when_shown_; |
120 | 120 |
121 scoped_array<XID> pointer_barriers_; | 121 scoped_ptr<XID[]> pointer_barriers_; |
122 | 122 |
123 scoped_ptr<internal::TouchEventCalibrate> touch_calibrate_; | 123 scoped_ptr<internal::TouchEventCalibrate> touch_calibrate_; |
124 | 124 |
125 scoped_ptr<MouseMoveFilter> mouse_move_filter_; | 125 scoped_ptr<MouseMoveFilter> mouse_move_filter_; |
126 | 126 |
127 ui::X11AtomCache atom_cache_; | 127 ui::X11AtomCache atom_cache_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); | 129 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace aura | 132 } // namespace aura |
133 | 133 |
134 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 134 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
OLD | NEW |