| 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_WM_DEFAULT_STATE_H_ | 5 #ifndef ASH_WM_DEFAULT_STATE_H_ |
| 6 #define ASH_WM_DEFAULT_STATE_H_ | 6 #define ASH_WM_DEFAULT_STATE_H_ |
| 7 | 7 |
| 8 #include "ash/wm/window_state.h" | 8 #include "ash/wm/window_state.h" |
| 9 #include "base/macros.h" |
| 9 #include "ui/gfx/display.h" | 10 #include "ui/gfx/display.h" |
| 10 | 11 |
| 11 namespace ash { | 12 namespace ash { |
| 12 namespace wm { | 13 namespace wm { |
| 13 class SetBoundsEvent; | 14 class SetBoundsEvent; |
| 14 | 15 |
| 15 // DefaultState implements Ash behavior without state machine. | 16 // DefaultState implements Ash behavior without state machine. |
| 16 class DefaultState : public WindowState::State { | 17 class DefaultState : public WindowState::State { |
| 17 public: | 18 public: |
| 18 explicit DefaultState(WindowStateType initial_state_type); | 19 explicit DefaultState(WindowStateType initial_state_type); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // The window state only gets remembered for DCHECK reasons. | 72 // The window state only gets remembered for DCHECK reasons. |
| 72 WindowState* stored_window_state_; | 73 WindowState* stored_window_state_; |
| 73 | 74 |
| 74 DISALLOW_COPY_AND_ASSIGN(DefaultState); | 75 DISALLOW_COPY_AND_ASSIGN(DefaultState); |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace wm | 78 } // namespace wm |
| 78 } // namespace ash | 79 } // namespace ash |
| 79 | 80 |
| 80 #endif // ASH_WM_DEFAULT_STATE_H_ | 81 #endif // ASH_WM_DEFAULT_STATE_H_ |
| OLD | NEW |