| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_EXO_SHELL_SURFACE_H_ | 5 #ifndef COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ | 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 std::string application_id_; | 232 std::string application_id_; |
| 233 gfx::Rect geometry_; | 233 gfx::Rect geometry_; |
| 234 gfx::Rect pending_geometry_; | 234 gfx::Rect pending_geometry_; |
| 235 double scale_; | 235 double scale_; |
| 236 double pending_scale_; | 236 double pending_scale_; |
| 237 base::Closure close_callback_; | 237 base::Closure close_callback_; |
| 238 base::Closure surface_destroyed_callback_; | 238 base::Closure surface_destroyed_callback_; |
| 239 ConfigureCallback configure_callback_; | 239 ConfigureCallback configure_callback_; |
| 240 ScopedConfigure* scoped_configure_; | 240 ScopedConfigure* scoped_configure_; |
| 241 bool ignore_window_bounds_changes_; | 241 bool ignore_window_bounds_changes_; |
| 242 gfx::Rect current_bounds_; |
| 242 gfx::Point origin_; | 243 gfx::Point origin_; |
| 243 gfx::Vector2d pending_origin_offset_; | 244 gfx::Vector2d pending_origin_offset_; |
| 244 gfx::Vector2d pending_origin_config_offset_; | 245 gfx::Vector2d pending_origin_config_offset_; |
| 245 int resize_component_; // HT constant (see ui/base/hit_test.h) | 246 int resize_component_; // HT constant (see ui/base/hit_test.h) |
| 246 int pending_resize_component_; | 247 int pending_resize_component_; |
| 247 std::deque<Config> pending_configs_; | 248 std::deque<Config> pending_configs_; |
| 248 std::unique_ptr<ash::WindowResizer> resizer_; | 249 std::unique_ptr<ash::WindowResizer> resizer_; |
| 249 | 250 |
| 250 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 251 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 } // namespace exo | 254 } // namespace exo |
| 254 | 255 |
| 255 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 256 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |