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

Side by Side Diff: ash/common/system/cast/tray_cast.h

Issue 2465403002: Some more fixes to cros system tray icons (esp. screen tray items) (Closed)
Patch Set: commentary Created 4 years, 1 month 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 | « no previous file | ash/common/system/cast/tray_cast.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_COMMON_SYSTEM_CAST_TRAY_CAST_H_ 5 #ifndef ASH_COMMON_SYSTEM_CAST_TRAY_CAST_H_
6 #define ASH_COMMON_SYSTEM_CAST_TRAY_CAST_H_ 6 #define ASH_COMMON_SYSTEM_CAST_TRAY_CAST_H_
7 7
8 #include "ash/common/cast_config_delegate.h" 8 #include "ash/common/cast_config_delegate.h"
9 #include "ash/common/shell_observer.h" 9 #include "ash/common/shell_observer.h"
10 #include "ash/common/system/tray/system_tray_item.h" 10 #include "ash/common/system/tray/system_tray_item.h"
(...skipping 25 matching lines...) Expand all
36 const views::View* GetDefaultView() const; 36 const views::View* GetDefaultView() const;
37 enum ChildViewId { TRAY_VIEW = 1, SELECT_VIEW, CAST_VIEW }; 37 enum ChildViewId { TRAY_VIEW = 1, SELECT_VIEW, CAST_VIEW };
38 38
39 // Overridden from SystemTrayItem. 39 // Overridden from SystemTrayItem.
40 views::View* CreateTrayView(LoginStatus status) override; 40 views::View* CreateTrayView(LoginStatus status) override;
41 views::View* CreateDefaultView(LoginStatus status) override; 41 views::View* CreateDefaultView(LoginStatus status) override;
42 views::View* CreateDetailedView(LoginStatus status) override; 42 views::View* CreateDetailedView(LoginStatus status) override;
43 void DestroyTrayView() override; 43 void DestroyTrayView() override;
44 void DestroyDefaultView() override; 44 void DestroyDefaultView() override;
45 void DestroyDetailedView() override; 45 void DestroyDetailedView() override;
46 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override;
47 46
48 // Overridden from ShellObserver. 47 // Overridden from ShellObserver.
49 void OnCastingSessionStartedOrStopped(bool started) override; 48 void OnCastingSessionStartedOrStopped(bool started) override;
50 49
51 // Overridden from CastConfigDelegate::Observer. 50 // Overridden from CastConfigDelegate::Observer.
52 void OnDevicesUpdated( 51 void OnDevicesUpdated(
53 const CastConfigDelegate::ReceiversAndActivities& devices) override; 52 const CastConfigDelegate::ReceiversAndActivities& devices) override;
54 53
55 // Returns true if the cast extension was detected. 54 // Returns true if the cast extension was detected.
56 bool HasCastExtension(); 55 bool HasCastExtension();
(...skipping 14 matching lines...) Expand all
71 tray::CastTrayView* tray_ = nullptr; 70 tray::CastTrayView* tray_ = nullptr;
72 tray::CastDuplexView* default_ = nullptr; 71 tray::CastDuplexView* default_ = nullptr;
73 tray::CastDetailedView* detailed_ = nullptr; 72 tray::CastDetailedView* detailed_ = nullptr;
74 73
75 DISALLOW_COPY_AND_ASSIGN(TrayCast); 74 DISALLOW_COPY_AND_ASSIGN(TrayCast);
76 }; 75 };
77 76
78 } // namespace ash 77 } // namespace ash
79 78
80 #endif // ASH_COMMON_SYSTEM_CAST_TRAY_CAST_H_ 79 #endif // ASH_COMMON_SYSTEM_CAST_TRAY_CAST_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/system/cast/tray_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698