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

Side by Side Diff: ui/message_center/message_center_style.h

Issue 1395483002: Increase Web Notification timeout to 20 seconds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use constant for delay Created 5 years, 2 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 UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize( 94 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize(
95 const gfx::Size& container_size, 95 const gfx::Size& container_size,
96 const gfx::Size& image_size); 96 const gfx::Size& image_size);
97 97
98 extern const int kNotificationMaximumImageHeight; // For image notifications. 98 extern const int kNotificationMaximumImageHeight; // For image notifications.
99 extern const size_t kNotificationMaximumItems; // For list notifications. 99 extern const size_t kNotificationMaximumItems; // For list notifications.
100 100
101 // Timing. 101 // Timing.
102 extern const int kAutocloseDefaultDelaySeconds; 102 extern const int kAutocloseDefaultDelaySeconds;
103 extern const int kAutocloseHighPriorityDelaySeconds; 103 extern const int kAutocloseHighPriorityDelaySeconds;
104 extern const int kAutocloseWebNotificationDelaySeconds;
104 105
105 // Buttons. 106 // Buttons.
106 const int kButtonHeight = 38; // In DIPs. 107 const int kButtonHeight = 38; // In DIPs.
107 const int kButtonHorizontalPadding = 16; // In DIPs. 108 const int kButtonHorizontalPadding = 16; // In DIPs.
108 const int kButtonIconTopPadding = 11; // In DIPs. 109 const int kButtonIconTopPadding = 11; // In DIPs.
109 const int kButtonIconToTitlePadding = 16; // In DIPs. 110 const int kButtonIconToTitlePadding = 16; // In DIPs.
110 111
111 #if !defined(OS_LINUX) || defined(USE_AURA) 112 #if !defined(OS_LINUX) || defined(USE_AURA)
112 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); 113 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234);
113 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); 114 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
(...skipping 24 matching lines...) Expand all
138 139
139 extern const SkColor kShadowColor; // Shadow in the tray. 140 extern const SkColor kShadowColor; // Shadow in the tray.
140 141
141 extern const SkColor kMessageCenterBackgroundColor; 142 extern const SkColor kMessageCenterBackgroundColor;
142 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. 143 extern const SkColor kFooterDelimiterColor; // Separator color for the tray.
143 extern const SkColor kFooterTextColor; // Text color for tray labels. 144 extern const SkColor kFooterTextColor; // Text color for tray labels.
144 145
145 } // namespace message_center 146 } // namespace message_center
146 147
147 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 148 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698