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

Side by Side Diff: components/exo/shell_surface.h

Issue 2008153002: Add initial implementation of cc::Surfaces backend for exo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698