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

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

Issue 2433233005: Cleanup: Remove unused arguments, member variable (Closed)
Patch Set: 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..3eb9b2d6024a11c813f092b3a1cf6dc6092a92b7 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,11 @@ 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
varkha 2016/10/21 14:17:15 nit: Incomplete sentence?
oshima 2016/10/24 20:45:14 Done.
+ 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();
varkha 2016/10/21 14:17:15 s/;/.
oshima 2016/10/24 20:45:14 Done.
+ void ShowHeader();
WmWindow* window() const { return window_; }
« 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