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

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

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/aura/wm_window_aura.cc ('k') | ash/wm/common/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_COMMON_DEFAULT_STATE_H_ 5 #ifndef ASH_WM_COMMON_DEFAULT_STATE_H_
6 #define ASH_WM_COMMON_DEFAULT_STATE_H_ 6 #define ASH_WM_COMMON_DEFAULT_STATE_H_
7 7
8 #include "ash/wm/common/window_state.h" 8 #include "ash/wm/common/window_state.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/gfx/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 {
19 public: 19 public:
20 explicit DefaultState(WindowStateType initial_state_type); 20 explicit DefaultState(WindowStateType initial_state_type);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 wm::WindowStateType old_state_type); 61 wm::WindowStateType old_state_type);
62 62
63 // The current type of the window. 63 // The current type of the window.
64 WindowStateType state_type_; 64 WindowStateType state_type_;
65 65
66 // The saved window state for the case that the state gets de-/activated. 66 // The saved window state for the case that the state gets de-/activated.
67 gfx::Rect stored_bounds_; 67 gfx::Rect stored_bounds_;
68 gfx::Rect stored_restore_bounds_; 68 gfx::Rect stored_restore_bounds_;
69 69
70 // The display state in which the mode got started. 70 // The display state in which the mode got started.
71 gfx::Display stored_display_state_; 71 display::Display stored_display_state_;
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_WM_COMMON_DEFAULT_STATE_H_ 82 #endif // ASH_WM_COMMON_DEFAULT_STATE_H_
OLDNEW
« no previous file with comments | « ash/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/default_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698