| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_COMMON_WM_DEFAULT_STATE_H_ | 5 #ifndef ASH_WM_DEFAULT_STATE_H_ |
| 6 #define ASH_COMMON_WM_DEFAULT_STATE_H_ | 6 #define ASH_WM_DEFAULT_STATE_H_ |
| 7 | 7 |
| 8 #include "ash/common/wm/window_state.h" | 8 #include "ash/wm/window_state.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/display/display.h" | 10 #include "ui/display/display.h" |
| 11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 namespace wm { | 14 namespace wm { |
| 15 class SetBoundsEvent; | 15 class SetBoundsEvent; |
| 16 | 16 |
| 17 // DefaultState implements Ash behavior without state machine. | 17 // DefaultState implements Ash behavior without state machine. |
| 18 class DefaultState : public WindowState::State { | 18 class DefaultState : public WindowState::State { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // The window state only gets remembered for DCHECK reasons. | 73 // The window state only gets remembered for DCHECK reasons. |
| 74 WindowState* stored_window_state_; | 74 WindowState* stored_window_state_; |
| 75 | 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(DefaultState); | 76 DISALLOW_COPY_AND_ASSIGN(DefaultState); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace wm | 79 } // namespace wm |
| 80 } // namespace ash | 80 } // namespace ash |
| 81 | 81 |
| 82 #endif // ASH_COMMON_WM_DEFAULT_STATE_H_ | 82 #endif // ASH_WM_DEFAULT_STATE_H_ |
| OLD | NEW |