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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Updates the transparent insets for the purposes of darkening the shelf | 219 // Updates the transparent insets for the purposes of darkening the shelf |
220 // appropriately. | 220 // appropriately. |
221 void UpdateTransparentInsets(); | 221 void UpdateTransparentInsets(); |
222 | 222 |
223 views::Widget* widget_; | 223 views::Widget* widget_; |
224 Surface* surface_; | 224 Surface* surface_; |
225 aura::Window* parent_; | 225 aura::Window* parent_; |
226 const gfx::Rect initial_bounds_; | 226 const gfx::Rect initial_bounds_; |
227 const bool activatable_; | 227 const bool activatable_; |
228 const bool resizeable_; | 228 const bool resizeable_; |
229 // Container Window Id (see ash/common/wm/wm_shell_window_ids.h) | 229 // Container Window Id (see ash/common/shell_window_ids.h) |
230 const int container_; | 230 const int container_; |
231 base::string16 title_; | 231 base::string16 title_; |
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::Point origin_; | 242 gfx::Point origin_; |
243 gfx::Vector2d pending_origin_offset_; | 243 gfx::Vector2d pending_origin_offset_; |
244 gfx::Vector2d pending_origin_config_offset_; | 244 gfx::Vector2d pending_origin_config_offset_; |
245 int resize_component_; // HT constant (see ui/base/hit_test.h) | 245 int resize_component_; // HT constant (see ui/base/hit_test.h) |
246 int pending_resize_component_; | 246 int pending_resize_component_; |
247 std::deque<Config> pending_configs_; | 247 std::deque<Config> pending_configs_; |
248 std::unique_ptr<ash::WindowResizer> resizer_; | 248 std::unique_ptr<ash::WindowResizer> resizer_; |
249 | 249 |
250 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 250 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
251 }; | 251 }; |
252 | 252 |
253 } // namespace exo | 253 } // namespace exo |
254 | 254 |
255 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 255 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
OLD | NEW |