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

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

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests 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/wm/overview/scoped_transform_overview_window.h
diff --git a/ash/wm/overview/scoped_transform_overview_window.h b/ash/wm/overview/scoped_transform_overview_window.h
index 737f2252941239a5c7504923228793687e8a9e24..4aec682ad190264b39bbe7a63c4a4c6992552e01 100644
--- a/ash/wm/overview/scoped_transform_overview_window.h
+++ b/ash/wm/overview/scoped_transform_overview_window.h
@@ -20,10 +20,7 @@ class Rect;
namespace ash {
class ScopedOverviewAnimationSettings;
-
-namespace wm {
class WmWindow;
-}
// Manages a window, and it's transient children, in the overview mode. This
// class allows transforming the windows with a helper to determine the best
@@ -47,7 +44,7 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
static gfx::Transform GetTransformForRect(const gfx::Rect& src_rect,
const gfx::Rect& dst_rect);
- explicit ScopedTransformOverviewWindow(wm::WmWindow* window);
+ explicit ScopedTransformOverviewWindow(WmWindow* window);
~ScopedTransformOverviewWindow();
gfx::Transform get_overview_transform() const { return overview_transform_; }
@@ -76,7 +73,7 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
ScopedAnimationSettings* animation_settings);
// Returns true if this window selector window contains the |target|.
- bool Contains(const wm::WmWindow* target) const;
+ bool Contains(const WmWindow* target) const;
// Returns the original target bounds of all transformed windows.
gfx::Rect GetTargetBoundsInScreen() const;
@@ -97,12 +94,12 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
// Applies the |transform| to the overview window and all of its transient
// children.
- void SetTransform(wm::WmWindow* root_window, const gfx::Transform& transform);
+ void SetTransform(WmWindow* root_window, const gfx::Transform& transform);
// Set's the opacity of the managed windows.
void SetOpacity(float opacity);
- wm::WmWindow* window() const { return window_; }
+ WmWindow* window() const { return window_; }
// Closes the transient root of the window managed by |this|.
void Close();
@@ -112,7 +109,7 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
void ShowWindowIfMinimized();
// A weak pointer to the real window in the overview.
- wm::WmWindow* window_;
+ WmWindow* window_;
// If true, the window was minimized and should be restored if the window
// was not selected.

Powered by Google App Engine
This is Rietveld 408576698