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

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

Issue 1395093002: Fix system notifications incorrectly marked as type WEB_PAGE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timeout
Patch Set: Addressed Peter's review comments 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 extern const int kAutocloseWebPageDelaySeconds;
105 105
106 // Buttons. 106 // Buttons.
107 const int kButtonHeight = 38; // In DIPs. 107 const int kButtonHeight = 38; // In DIPs.
108 const int kButtonHorizontalPadding = 16; // In DIPs. 108 const int kButtonHorizontalPadding = 16; // In DIPs.
109 const int kButtonIconTopPadding = 11; // In DIPs. 109 const int kButtonIconTopPadding = 11; // In DIPs.
110 const int kButtonIconToTitlePadding = 16; // In DIPs. 110 const int kButtonIconToTitlePadding = 16; // In DIPs.
111 111
112 #if !defined(OS_LINUX) || defined(USE_AURA) 112 #if !defined(OS_LINUX) || defined(USE_AURA)
113 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); 113 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234);
114 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); 114 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
(...skipping 24 matching lines...) Expand all
139 139
140 extern const SkColor kShadowColor; // Shadow in the tray. 140 extern const SkColor kShadowColor; // Shadow in the tray.
141 141
142 extern const SkColor kMessageCenterBackgroundColor; 142 extern const SkColor kMessageCenterBackgroundColor;
143 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. 143 extern const SkColor kFooterDelimiterColor; // Separator color for the tray.
144 extern const SkColor kFooterTextColor; // Text color for tray labels. 144 extern const SkColor kFooterTextColor; // Text color for tray labels.
145 145
146 } // namespace message_center 146 } // namespace message_center
147 147
148 #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