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

Side by Side Diff: chrome/browser/chromeos/status/status_area_button.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/status/status_area_button.h" 5 #include "chrome/browser/chromeos/status/status_area_button.h"
6 6
7 #include "grit/theme_resources.h" 7 #include "grit/theme_resources.h"
8 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/skbitmap_operations.h" 10 #include "ui/gfx/skbitmap_operations.h"
11 #include "ui/views/border.h"
11 #include "ui/views/view.h" 12 #include "ui/views/view.h"
12 #include "views/border.h"
13 13
14 namespace { 14 namespace {
15 15
16 // Colors for different text styles. 16 // Colors for different text styles.
17 const SkColor kWhitePlainTextColor = 0x99ffffff; 17 const SkColor kWhitePlainTextColor = 0x99ffffff;
18 const SkColor kGrayPlainTextColor = 0x99666666; 18 const SkColor kGrayPlainTextColor = 0x99666666;
19 const SkColor kWhiteHaloedTextColor = 0xb3ffffff; 19 const SkColor kWhiteHaloedTextColor = 0xb3ffffff;
20 const SkColor kWhiteHaloedHaloColor = 0xb3000000; 20 const SkColor kWhiteHaloedHaloColor = 0xb3000000;
21 const SkColor kGrayEmbossedTextColor = 0xff4c4c4c; 21 const SkColor kGrayEmbossedTextColor = 0xff4c4c4c;
22 const SkColor kGrayEmbossedShadowColor = 0x80ffffff; 22 const SkColor kGrayEmbossedShadowColor = 0x80ffffff;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 SetEnabledColor(kWhiteHaloedTextColor); 154 SetEnabledColor(kWhiteHaloedTextColor);
155 SetTextHaloColor(kWhiteHaloedHaloColor); 155 SetTextHaloColor(kWhiteHaloedHaloColor);
156 break; 156 break;
157 case GRAY_EMBOSSED: 157 case GRAY_EMBOSSED:
158 SetEnabledColor(kGrayEmbossedTextColor); 158 SetEnabledColor(kGrayEmbossedTextColor);
159 SetTextShadowColors(kGrayEmbossedShadowColor, kGrayEmbossedShadowColor); 159 SetTextShadowColors(kGrayEmbossedShadowColor, kGrayEmbossedShadowColor);
160 SetTextShadowOffset(0, 1); 160 SetTextShadowOffset(0, 1);
161 break; 161 break;
162 } 162 }
163 } 163 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | chrome/browser/chromeos/status/status_area_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698