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

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

Issue 2087153003: Moves common code in ash/wm/overview to ash/common/wm/overview (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 side-by-side diff with in-line comments
Download patch
Index: ash/common/wm/overview/scoped_transform_overview_window.h
diff --git a/ash/wm/overview/scoped_transform_overview_window.h b/ash/common/wm/overview/scoped_transform_overview_window.h
similarity index 93%
rename from ash/wm/overview/scoped_transform_overview_window.h
rename to ash/common/wm/overview/scoped_transform_overview_window.h
index 32e277d2614e56e1879c8342e4726251863c5994..4344e1bc42f3f55ff66f22b828745e469ee9f279 100644
--- a/ash/wm/overview/scoped_transform_overview_window.h
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
-#define ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
+#ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
+#define ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
#include <memory>
#include <vector>
#include "ash/ash_export.h"
-#include "ash/wm/overview/overview_animation_type.h"
+#include "ash/common/wm/overview/overview_animation_type.h"
#include "base/macros.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/transform.h"
@@ -77,9 +77,8 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
// // until scoped_settings is destroyed.
// overview_window.SetTransform(root_window, new_transform);
// overview_window.SetOpacity(1);
- void BeginScopedAnimation(
- OverviewAnimationType animation_type,
- ScopedAnimationSettings* animation_settings);
+ void BeginScopedAnimation(OverviewAnimationType animation_type,
+ ScopedAnimationSettings* animation_settings);
// Returns true if this window selector window contains the |target|.
bool Contains(const WmWindow* target) const;
@@ -153,4 +152,4 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
} // namespace ash
-#endif // ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
+#endif // ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698