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

Side by Side Diff: ui/message_center/views/constants.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIEWS_CONSTANTS_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_CONSTANTS_H_
6 #define UI_MESSAGE_CENTER_VIEWS_CONSTANTS_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_CONSTANTS_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/size.h" 10 #include "ui/gfx/geometry/size.h"
11 #include "ui/message_center/message_center_style.h" 11 #include "ui/message_center/message_center_style.h"
12 12
13 namespace message_center { 13 namespace message_center {
14 14
15 // The text background colors below are used only to keep 15 // The text background colors below are used only to keep
16 // view::Label from modifying the text color and will not actually be drawn. 16 // view::Label from modifying the text color and will not actually be drawn.
17 // See view::Label's RecalculateColors() for details. 17 // See view::Label's RecalculateColors() for details.
18 const SkColor kRegularTextBackgroundColor = SK_ColorWHITE; 18 const SkColor kRegularTextBackgroundColor = SK_ColorWHITE;
19 const SkColor kDimTextBackgroundColor = SK_ColorWHITE; 19 const SkColor kDimTextBackgroundColor = SK_ColorWHITE;
20 const SkColor kContextTextBackgroundColor = SK_ColorWHITE; 20 const SkColor kContextTextBackgroundColor = SK_ColorWHITE;
(...skipping 14 matching lines...) Expand all
35 const size_t kMessageCharacterLimit = 35 const size_t kMessageCharacterLimit =
36 message_center::kNotificationWidth * 36 message_center::kNotificationWidth *
37 message_center::kMessageExpandedLineLimit / 3; 37 message_center::kMessageExpandedLineLimit / 3;
38 const size_t kContextMessageCharacterLimit = 38 const size_t kContextMessageCharacterLimit =
39 message_center::kNotificationWidth * 39 message_center::kNotificationWidth *
40 message_center::kContextMessageLineLimit / 3; 40 message_center::kContextMessageLineLimit / 3;
41 41
42 } // namespace message_center 42 } // namespace message_center
43 43
44 #endif // UI_MESSAGE_CENTER_VIEWS_CONSTANTS_H_ 44 #endif // UI_MESSAGE_CENTER_VIEWS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center_style.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698