| Index: ash/wm/workspace/workspace_window_resizer.h
|
| diff --git a/ash/wm/workspace/workspace_window_resizer.h b/ash/wm/workspace/workspace_window_resizer.h
|
| index 76176b1a2b4a77fa7b1ad3b4a75eafded2a7e282..b6b33996066d6fd51fbddbe2417ebb3fbfda1b3b 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.h
|
| +++ b/ash/wm/workspace/workspace_window_resizer.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "ash/wm/window_resizer.h"
|
| #include "ash/wm/workspace/magnetism_matcher.h"
|
| +#include "ash/wm/workspace/snap_types.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -71,16 +72,6 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| FRIEND_TEST_ALL_PREFIXES(WorkspaceWindowResizerTest, PhantomSnapMaxSize);
|
| FRIEND_TEST_ALL_PREFIXES(WorkspaceWindowResizerTest, PhantomWindowShow);
|
|
|
| - // Type of snapping.
|
| - enum SnapType {
|
| - // Snap to the left/right edge of the screen.
|
| - SNAP_LEFT_EDGE,
|
| - SNAP_RIGHT_EDGE,
|
| -
|
| - // No snap position.
|
| - SNAP_NONE
|
| - };
|
| -
|
| // Returns the final bounds to place the window at. This differs from
|
| // the current when snapping.
|
| gfx::Rect GetFinalBounds(const gfx::Rect& bounds) const;
|
| @@ -211,6 +202,10 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
|
| // should attach.
|
| MatchedEdge magnetism_edge_;
|
|
|
| + // If non-NULL the destructor sets this to true. Used to determine if this has
|
| + // been deleted.
|
| + bool* destroyed_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WorkspaceWindowResizer);
|
| };
|
|
|
|
|