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

Side by Side Diff: ash/common/system/tray/system_tray_item.h

Issue 2190773002: Fix Volume slider is captured in screenshot done in touchview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 4 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
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/system/tray/system_tray_item.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 (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_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/login_status.h" 9 #include "ash/common/login_status.h"
10 #include "ash/common/shelf/shelf_types.h" 10 #include "ash/common/shelf/shelf_types.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // something, e.g. volume, network availability etc. changes). If 114 // something, e.g. volume, network availability etc. changes). If
115 // |for_seconds| is non-zero, then the popup is closed after the specified 115 // |for_seconds| is non-zero, then the popup is closed after the specified
116 // time. 116 // time.
117 void PopupDetailedView(int for_seconds, bool activate); 117 void PopupDetailedView(int for_seconds, bool activate);
118 118
119 // Continue showing the currently-shown detailed view, if any, for 119 // Continue showing the currently-shown detailed view, if any, for
120 // |for_seconds| seconds. The caller is responsible for checking that the 120 // |for_seconds| seconds. The caller is responsible for checking that the
121 // currently-shown view is for this item. 121 // currently-shown view is for this item.
122 void SetDetailedViewCloseDelay(int for_seconds); 122 void SetDetailedViewCloseDelay(int for_seconds);
123 123
124 // Hides the detailed view for this item. 124 // Hides the detailed view for this item. Disable hiding animation if
125 void HideDetailedView(); 125 // |animate| is false.
126 void HideDetailedView(bool animate);
126 127
127 // Shows a notification for this item. 128 // Shows a notification for this item.
128 void ShowNotificationView(); 129 void ShowNotificationView();
129 130
130 // Hides the notification for this item. 131 // Hides the notification for this item.
131 void HideNotificationView(); 132 void HideNotificationView();
132 133
133 // Returns true if item should hide the arrow. 134 // Returns true if item should hide the arrow.
134 virtual bool ShouldHideArrow() const; 135 virtual bool ShouldHideArrow() const;
135 136
(...skipping 16 matching lines...) Expand all
152 SystemTray* system_tray_; 153 SystemTray* system_tray_;
153 UmaType uma_type_; 154 UmaType uma_type_;
154 bool restore_focus_; 155 bool restore_focus_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem); 157 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem);
157 }; 158 };
158 159
159 } // namespace ash 160 } // namespace ash
160 161
161 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 162 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/system/tray/system_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698