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/screen_security/screen_tray_item.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SCREEN_TRAY_ITEM_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_SCREEN_TRAY_ITEM_H_
6 #define ASH_SYSTEM_CHROMEOS_SCREEN_TRAY_ITEM_H_ 6 #define ASH_SYSTEM_CHROMEOS_SCREEN_TRAY_ITEM_H_
7 7
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "ash/system/tray/system_tray_item.h" 9 #include "ash/system/tray/system_tray_item.h"
10 #include "ash/system/tray/system_tray_notifier.h" 10 #include "ash/system/tray/system_tray_notifier.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void CreateOrUpdateNotification() = 0; 116 virtual void CreateOrUpdateNotification() = 0;
117 117
118 // Returns the id of the notification for the tray item. 118 // Returns the id of the notification for the tray item.
119 virtual std::string GetNotificationId() = 0; 119 virtual std::string GetNotificationId() = 0;
120 120
121 // Overridden from SystemTrayItem. 121 // Overridden from SystemTrayItem.
122 views::View* CreateTrayView(user::LoginStatus status) override = 0; 122 views::View* CreateTrayView(user::LoginStatus status) override = 0;
123 views::View* CreateDefaultView(user::LoginStatus status) override = 0; 123 views::View* CreateDefaultView(user::LoginStatus status) override = 0;
124 void DestroyTrayView() override; 124 void DestroyTrayView() override;
125 void DestroyDefaultView() override; 125 void DestroyDefaultView() override;
126 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override; 126 void UpdateAfterShelfAlignmentChange(wm::ShelfAlignment alignment) override;
127 127
128 private: 128 private:
129 tray::ScreenTrayView* tray_view_; 129 tray::ScreenTrayView* tray_view_;
130 tray::ScreenStatusView* default_view_; 130 tray::ScreenStatusView* default_view_;
131 bool is_started_; 131 bool is_started_;
132 base::Closure stop_callback_; 132 base::Closure stop_callback_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(ScreenTrayItem); 134 DISALLOW_COPY_AND_ASSIGN(ScreenTrayItem);
135 }; 135 };
136 136
137 } // namespace ash 137 } // namespace ash
138 138
139 #endif // ASH_SYSTEM_CHROMEOS_SCREEN_TRAY_ITEM_H_ 139 #endif // ASH_SYSTEM_CHROMEOS_SCREEN_TRAY_ITEM_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/power/tray_power.cc ('k') | ash/system/chromeos/screen_security/screen_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698