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

Side by Side Diff: components/mus/ws/server_window.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « components/mus/ws/platform_display.cc ('k') | components/mus/ws/server_window_delegate.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_MUS_WS_SERVER_WINDOW_H_ 5 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_H_
6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_H_ 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // transient ancestor changing. 209 // transient ancestor changing.
210 ServerWindow* stacking_target_; 210 ServerWindow* stacking_target_;
211 ServerWindow* transient_parent_; 211 ServerWindow* transient_parent_;
212 Windows transient_children_; 212 Windows transient_children_;
213 213
214 bool is_modal_; 214 bool is_modal_;
215 bool visible_; 215 bool visible_;
216 gfx::Rect bounds_; 216 gfx::Rect bounds_;
217 gfx::Insets client_area_; 217 gfx::Insets client_area_;
218 std::vector<gfx::Rect> additional_client_areas_; 218 std::vector<gfx::Rect> additional_client_areas_;
219 scoped_ptr<ServerWindowSurfaceManager> surface_manager_; 219 std::unique_ptr<ServerWindowSurfaceManager> surface_manager_;
220 mojom::Cursor cursor_id_; 220 mojom::Cursor cursor_id_;
221 float opacity_; 221 float opacity_;
222 bool can_focus_; 222 bool can_focus_;
223 gfx::Transform transform_; 223 gfx::Transform transform_;
224 ui::TextInputState text_input_state_; 224 ui::TextInputState text_input_state_;
225 225
226 Properties properties_; 226 Properties properties_;
227 227
228 gfx::Vector2d underlay_offset_; 228 gfx::Vector2d underlay_offset_;
229 229
230 // The hit test for windows extends outside the bounds of the window by this 230 // The hit test for windows extends outside the bounds of the window by this
231 // amount. 231 // amount.
232 gfx::Insets extended_hit_test_region_; 232 gfx::Insets extended_hit_test_region_;
233 233
234 base::ObserverList<ServerWindowObserver> observers_; 234 base::ObserverList<ServerWindowObserver> observers_;
235 235
236 DISALLOW_COPY_AND_ASSIGN(ServerWindow); 236 DISALLOW_COPY_AND_ASSIGN(ServerWindow);
237 }; 237 };
238 238
239 } // namespace ws 239 } // namespace ws
240 } // namespace mus 240 } // namespace mus
241 241
242 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_H_ 242 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_H_
OLDNEW
« no previous file with comments | « components/mus/ws/platform_display.cc ('k') | components/mus/ws/server_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698