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

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

Issue 2664403004: Use pixel coordinates for shadow underlay bounds (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | components/exo/shell_surface.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 aura::Window* shadow_overlay_ = nullptr; 314 aura::Window* shadow_overlay_ = nullptr;
315 aura::Window* shadow_underlay_ = nullptr; 315 aura::Window* shadow_underlay_ = nullptr;
316 std::unique_ptr<ui::EventHandler> shadow_underlay_event_handler_; 316 std::unique_ptr<ui::EventHandler> shadow_underlay_event_handler_;
317 gfx::Rect shadow_content_bounds_; 317 gfx::Rect shadow_content_bounds_;
318 float shadow_background_opacity_ = 1.0; 318 float shadow_background_opacity_ = 1.0;
319 std::deque<Config> pending_configs_; 319 std::deque<Config> pending_configs_;
320 std::unique_ptr<ash::WindowResizer> resizer_; 320 std::unique_ptr<ash::WindowResizer> resizer_;
321 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; 321 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_;
322 int top_inset_height_ = 0; 322 int top_inset_height_ = 0;
323 int pending_top_inset_height_ = 0; 323 int pending_top_inset_height_ = 0;
324 bool pixel_shadow_bounds_ = false;
324 325
325 DISALLOW_COPY_AND_ASSIGN(ShellSurface); 326 DISALLOW_COPY_AND_ASSIGN(ShellSurface);
326 }; 327 };
327 328
328 } // namespace exo 329 } // namespace exo
329 330
330 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ 331 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_
OLDNEW
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | components/exo/shell_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698