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

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

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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 "content/common/notification_service.h"
8 #include "grit/theme_resources.h" 7 #include "grit/theme_resources.h"
9 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
10 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
11 #include "ui/gfx/skbitmap_operations.h" 10 #include "ui/gfx/skbitmap_operations.h"
12 #include "views/border.h" 11 #include "views/border.h"
13 #include "views/view.h" 12 #include "views/view.h"
14 13
15 namespace { 14 namespace {
16 15
17 // Colors for different text styles. 16 // Colors for different text styles.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 break; 172 break;
174 case StatusAreaHost::kGrayEmbossed: 173 case StatusAreaHost::kGrayEmbossed:
175 SetEnabledColor(kGrayEmbossedTextColor); 174 SetEnabledColor(kGrayEmbossedTextColor);
176 SetTextShadowColors(kGrayEmbossedShadowColor, kGrayEmbossedShadowColor); 175 SetTextShadowColors(kGrayEmbossedShadowColor, kGrayEmbossedShadowColor);
177 SetTextShadowOffset(0, 1); 176 SetTextShadowOffset(0, 1);
178 break; 177 break;
179 } 178 }
180 } 179 }
181 180
182 } // namespace chromeos 181 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/memory_menu_button.cc ('k') | chrome/browser/chromeos/tab_closeable_state_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698