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

Side by Side Diff: ash/system/date/tray_date.h

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DATE_TRAY_DATE_H_ 5 #ifndef ASH_SYSTEM_DATE_TRAY_DATE_H_
6 #define ASH_SYSTEM_DATE_TRAY_DATE_H_ 6 #define ASH_SYSTEM_DATE_TRAY_DATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 private: 52 private:
53 // Overridden from SystemTrayItem. 53 // Overridden from SystemTrayItem.
54 views::View* CreateTrayView(user::LoginStatus status) override; 54 views::View* CreateTrayView(user::LoginStatus status) override;
55 views::View* CreateDefaultView(user::LoginStatus status) override; 55 views::View* CreateDefaultView(user::LoginStatus status) override;
56 views::View* CreateDetailedView(user::LoginStatus status) override; 56 views::View* CreateDetailedView(user::LoginStatus status) override;
57 void DestroyTrayView() override; 57 void DestroyTrayView() override;
58 void DestroyDefaultView() override; 58 void DestroyDefaultView() override;
59 void DestroyDetailedView() override; 59 void DestroyDetailedView() override;
60 void UpdateAfterLoginStatusChange(user::LoginStatus status) override; 60 void UpdateAfterLoginStatusChange(user::LoginStatus status) override;
61 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override; 61 void UpdateAfterShelfAlignmentChange(wm::ShelfAlignment alignment) override;
62 62
63 // Overridden from ClockObserver. 63 // Overridden from ClockObserver.
64 void OnDateFormatChanged() override; 64 void OnDateFormatChanged() override;
65 void OnSystemClockTimeUpdated() override; 65 void OnSystemClockTimeUpdated() override;
66 void OnSystemClockCanSetTimeChanged(bool can_set_time) override; 66 void OnSystemClockCanSetTimeChanged(bool can_set_time) override;
67 void Refresh() override; 67 void Refresh() override;
68 68
69 void SetupLabelForTimeTray(views::Label* label); 69 void SetupLabelForTimeTray(views::Label* label);
70 70
71 tray::TimeView* time_tray_; 71 tray::TimeView* time_tray_;
72 DateDefaultView* default_view_; 72 DateDefaultView* default_view_;
73 user::LoginStatus login_status_; 73 user::LoginStatus login_status_;
74 74
75 #if defined(OS_CHROMEOS) 75 #if defined(OS_CHROMEOS)
76 std::unique_ptr<SystemClockObserver> system_clock_observer_; 76 std::unique_ptr<SystemClockObserver> system_clock_observer_;
77 #endif 77 #endif
78 78
79 DISALLOW_COPY_AND_ASSIGN(TrayDate); 79 DISALLOW_COPY_AND_ASSIGN(TrayDate);
80 }; 80 };
81 81
82 } // namespace ash 82 } // namespace ash
83 83
84 #endif // ASH_SYSTEM_DATE_TRAY_DATE_H_ 84 #endif // ASH_SYSTEM_DATE_TRAY_DATE_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | ash/system/date/tray_date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698