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

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

Issue 2494943005: [ash-md] Added a delay between system menu default/detailed view transitions. (Closed)
Patch Set: Addressed danakj@ comments. 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 | « ash/common/system/tray/system_tray_item.cc ('k') | ash/common/system/tray/tray_constants.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_TRAY_CONSTANTS_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 typedef unsigned int SkColor; 10 typedef unsigned int SkColor;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // The right inset for all tray system menu rows. 165 // The right inset for all tray system menu rows.
166 TRAY_POPUP_ITEM_RIGHT_INSET, 166 TRAY_POPUP_ITEM_RIGHT_INSET,
167 167
168 // The minimum default width for the left container of the system menu rows. 168 // The minimum default width for the left container of the system menu rows.
169 TRAY_POPUP_ITEM_MIN_START_WIDTH, 169 TRAY_POPUP_ITEM_MIN_START_WIDTH,
170 170
171 // The minimum default width for the right container of the system menu rows. 171 // The minimum default width for the right container of the system menu rows.
172 TRAY_POPUP_ITEM_MIN_END_WIDTH, 172 TRAY_POPUP_ITEM_MIN_END_WIDTH,
173 173
174 // Duration to delay transitions to the default view.
175 TRAY_POPUP_TRANSITION_TO_DEFAULT_DELAY,
176
177 // Duration to delay transitions to the detailed view.
178 TRAY_POPUP_TRANSITION_TO_DETAILED_DELAY,
179
174 // The width and height of the virtual keyboard button in the status tray 180 // The width and height of the virtual keyboard button in the status tray
175 // area. For non-MD, adjustments are made to the button dimensions based on 181 // area. For non-MD, adjustments are made to the button dimensions based on
176 // the shelf orientation, so this constant does not specify the true 182 // the shelf orientation, so this constant does not specify the true
177 // user-visible button bounds. 183 // user-visible button bounds.
178 VIRTUAL_KEYBOARD_BUTTON_SIZE, 184 VIRTUAL_KEYBOARD_BUTTON_SIZE,
179 185
180 // The icon size of opt-in IME menu tray. 186 // The icon size of opt-in IME menu tray.
181 TRAY_IME_MENU_ICON, 187 TRAY_IME_MENU_ICON,
182 188
183 // Extra padding used beside a single icon in the tray area of the shelf. 189 // Extra padding used beside a single icon in the tray area of the shelf.
184 TRAY_IMAGE_ITEM_PADDING, 190 TRAY_IMAGE_ITEM_PADDING,
185 }; 191 };
186 192
187 int GetTrayConstant(TrayConstant constant); 193 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
188 194
189 namespace test { 195 namespace test {
190 const int kSettingsTrayItemViewId = 10000; 196 const int kSettingsTrayItemViewId = 10000;
191 const int kAccessibilityTrayItemViewId = 10001; 197 const int kAccessibilityTrayItemViewId = 10001;
192 } // namespace test 198 } // namespace test
193 199
194 } // namespace ash 200 } // namespace ash
195 201
196 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 202 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_item.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698