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

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

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
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_LOCK_WINDOW_STATE_H_ 5 #ifndef ASH_WM_LOCK_WINDOW_STATE_H_
6 #define ASH_WM_LOCK_WINDOW_STATE_H_ 6 #define ASH_WM_LOCK_WINDOW_STATE_H_
7 7
8 #include "ash/wm/window_state.h" 8 #include "ash/wm/window_state.h"
9 #include "base/macros.h"
9 10
10 namespace ash { 11 namespace ash {
11 12
12 // The LockWindowState implementation which reduces all possible window 13 // The LockWindowState implementation which reduces all possible window
13 // states to maximized (or normal if can't be maximized)/minimized/full-screen 14 // states to maximized (or normal if can't be maximized)/minimized/full-screen
14 // and is applied only on lock (login) window container. 15 // and is applied only on lock (login) window container.
15 // LockWindowState implements Ash behavior without state machine. 16 // LockWindowState implements Ash behavior without state machine.
16 class LockWindowState : public wm::WindowState::State { 17 class LockWindowState : public wm::WindowState::State {
17 public: 18 public:
18 // The |window|'s state object will be modified to use this new window mode 19 // The |window|'s state object will be modified to use this new window mode
(...skipping 30 matching lines...) Expand all
49 // The current state type. Due to the nature of this state, this can only be 50 // The current state type. Due to the nature of this state, this can only be
50 // WM_STATE_TYPE{NORMAL, MINIMIZED, MAXIMIZED}. 51 // WM_STATE_TYPE{NORMAL, MINIMIZED, MAXIMIZED}.
51 wm::WindowStateType current_state_type_; 52 wm::WindowStateType current_state_type_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(LockWindowState); 54 DISALLOW_COPY_AND_ASSIGN(LockWindowState);
54 }; 55 };
55 56
56 } // namespace ash 57 } // namespace ash
57 58
58 #endif // ASH_WM_LOCK_WINDOW_STATE_H_ 59 #endif // ASH_WM_LOCK_WINDOW_STATE_H_
OLDNEW
« no previous file with comments | « ash/wm/lock_state_controller.h ('k') | ash/wm/maximize_mode/maximize_mode_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698