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