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

Side by Side Diff: ash/system/chromeos/rotation/tray_rotation_lock.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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
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_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_
6 #define ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_ 6 #define ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_
7 7
8 #include "ash/display/screen_orientation_controller_chromeos.h" 8 #include "ash/display/screen_orientation_controller_chromeos.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "ash/system/tray/tray_image_item.h" 10 #include "ash/system/tray/tray_image_item.h"
(...skipping 15 matching lines...) Expand all
26 public ScreenOrientationController::Observer, 26 public ScreenOrientationController::Observer,
27 public ShellObserver { 27 public ShellObserver {
28 public: 28 public:
29 explicit TrayRotationLock(SystemTray* system_tray); 29 explicit TrayRotationLock(SystemTray* system_tray);
30 ~TrayRotationLock() override; 30 ~TrayRotationLock() override;
31 31
32 // ScreenOrientationController::Observer: 32 // ScreenOrientationController::Observer:
33 void OnRotationLockChanged(bool rotation_locked) override; 33 void OnRotationLockChanged(bool rotation_locked) override;
34 34
35 // SystemTrayItem: 35 // SystemTrayItem:
36 views::View* CreateDefaultView(user::LoginStatus status) override; 36 views::View* CreateDefaultView(LoginStatus status) override;
37 37
38 // ShellObserver: 38 // ShellObserver:
39 void OnMaximizeModeStarted() override; 39 void OnMaximizeModeStarted() override;
40 void OnMaximizeModeEnded() override; 40 void OnMaximizeModeEnded() override;
41 41
42 // TrayImageItem: 42 // TrayImageItem:
43 void DestroyTrayView() override; 43 void DestroyTrayView() override;
44 44
45 protected: 45 protected:
46 // TrayImageItem: 46 // TrayImageItem:
(...skipping 21 matching lines...) Expand all
68 68
69 // True while added as a ShellObserver. 69 // True while added as a ShellObserver.
70 bool observing_shell_; 70 bool observing_shell_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(TrayRotationLock); 72 DISALLOW_COPY_AND_ASSIGN(TrayRotationLock);
73 }; 73 };
74 74
75 } // namespace ash 75 } // namespace ash
76 76
77 #endif // ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_ 77 #endif // ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/power/tray_power.cc ('k') | ash/system/chromeos/rotation/tray_rotation_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698