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

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

Issue 11878022: ui: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 #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
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_
OLDNEW
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/base/clipboard/clipboard_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698