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_PUBLIC_CPP_WINDOW_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 int local_id_ = -1; | 308 int local_id_ = -1; |
309 Window* parent_; | 309 Window* parent_; |
310 Children children_; | 310 Children children_; |
311 | 311 |
312 Window* stacking_target_; | 312 Window* stacking_target_; |
313 Window* transient_parent_; | 313 Window* transient_parent_; |
314 Children transient_children_; | 314 Children transient_children_; |
315 | 315 |
316 bool is_modal_; | 316 bool is_modal_; |
317 | 317 |
318 base::ObserverList<WindowObserver> observers_; | 318 base::ObserverList<WindowObserver, true> observers_; |
319 InputEventHandler* input_event_handler_; | 319 InputEventHandler* input_event_handler_; |
320 | 320 |
321 gfx::Rect bounds_; | 321 gfx::Rect bounds_; |
322 gfx::Insets client_area_; | 322 gfx::Insets client_area_; |
323 std::vector<gfx::Rect> additional_client_areas_; | 323 std::vector<gfx::Rect> additional_client_areas_; |
324 | 324 |
325 mojom::ViewportMetricsPtr viewport_metrics_; | 325 mojom::ViewportMetricsPtr viewport_metrics_; |
326 | 326 |
327 bool visible_; | 327 bool visible_; |
328 float opacity_; | 328 float opacity_; |
(...skipping 16 matching lines...) Expand all Loading... |
345 }; | 345 }; |
346 | 346 |
347 std::map<const void*, Value> prop_map_; | 347 std::map<const void*, Value> prop_map_; |
348 | 348 |
349 DISALLOW_COPY_AND_ASSIGN(Window); | 349 DISALLOW_COPY_AND_ASSIGN(Window); |
350 }; | 350 }; |
351 | 351 |
352 } // namespace mus | 352 } // namespace mus |
353 | 353 |
354 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ | 354 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
OLD | NEW |