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

Side by Side Diff: ash/wm/default_state.h

Issue 1921883002: Removes WindowState::aura_window() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows build Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « ash/wm/common/wm_window_tracker.h ('k') | ash/wm/default_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h"
10 #include "ui/gfx/display.h" 10 #include "ui/gfx/display.h"
11 #include "ui/gfx/geometry/rect.h"
11 12
12 namespace ash { 13 namespace ash {
13 namespace wm { 14 namespace wm {
14 class SetBoundsEvent; 15 class SetBoundsEvent;
15 16
16 // DefaultState implements Ash behavior without state machine. 17 // DefaultState implements Ash behavior without state machine.
17 class DefaultState : public WindowState::State { 18 class DefaultState : public WindowState::State {
18 public: 19 public:
19 explicit DefaultState(WindowStateType initial_state_type); 20 explicit DefaultState(WindowStateType initial_state_type);
20 ~DefaultState() override; 21 ~DefaultState() override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // The window state only gets remembered for DCHECK reasons. 73 // The window state only gets remembered for DCHECK reasons.
73 WindowState* stored_window_state_; 74 WindowState* stored_window_state_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(DefaultState); 76 DISALLOW_COPY_AND_ASSIGN(DefaultState);
76 }; 77 };
77 78
78 } // namespace wm 79 } // namespace wm
79 } // namespace ash 80 } // namespace ash
80 81
81 #endif // ASH_WM_DEFAULT_STATE_H_ 82 #endif // ASH_WM_DEFAULT_STATE_H_
OLDNEW
« no previous file with comments | « ash/wm/common/wm_window_tracker.h ('k') | ash/wm/default_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698