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

Unified Diff: ash/common/wm/overview/scoped_transform_overview_window.h

Issue 2433233005: Cleanup: Remove unused arguments, member variable (Closed)
Patch Set: Cleanup: Remove unused arguments, member variable Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/scoped_transform_overview_window.h
diff --git a/ash/common/wm/overview/scoped_transform_overview_window.h b/ash/common/wm/overview/scoped_transform_overview_window.h
index 518948921b22ca60a3c866a19c8b3e628ed2efe0..253378cd7d6ccf630c0947f9abcd47c70f43eac1 100644
--- a/ash/common/wm/overview/scoped_transform_overview_window.h
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h
@@ -61,12 +61,6 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
explicit ScopedTransformOverviewWindow(WmWindow* window);
~ScopedTransformOverviewWindow();
- gfx::Transform get_overview_transform() const { return overview_transform_; }
-
- void set_overview_transform(const gfx::Transform& transform) {
- overview_transform_ = transform;
- }
-
// Starts an animation sequence which will use animation settings specified by
// |animation_type|. The |animation_settings| container is populated with
// scoped entities and the container should be destroyed at the end of the
@@ -127,13 +121,12 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
// Set's the opacity of the managed windows.
void SetOpacity(float opacity);
- // Creates a mask layer with the bottom edge using rounded corners of
- // |radius|. Uses SetAlphaShape to mask the header.
- void HideHeaderAndSetShape(int radius);
+ // Hides the window header whose size is given in |TOP_VIEW_INSET|
+ // window property.
+ void HideHeader();
- // Restores original window shape and removes the mask if installed. Safe to
- // call even if HideHeaderAndSetShape() has not been called.
- void ShowHeaderAndResetShape();
+ // Shows the window header that is hidden by HideHeader().
+ void ShowHeader();
WmWindow* window() const { return window_; }
@@ -181,10 +174,6 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
// The original transform of the window before entering overview mode.
gfx::Transform original_transform_;
- // Keeps track of the original transform used when |this| has been positioned
- // during SelectorItem layout.
- gfx::Transform overview_transform_;
-
// The original opacity of the window before entering overview mode.
float original_opacity_;
« no previous file with comments | « no previous file | ash/common/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698