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

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

Issue 2704933011: Add notification settings button to ARC notifications. (Closed)
Patch Set: Add notification settings button to ARC notifications. Created 3 years, 9 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 #include "ui/message_center/message_center_style.h" 5 #include "ui/message_center/message_center_style.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ui/gfx/color_palette.h" 9 #include "ui/gfx/color_palette.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 27 matching lines...) Expand all
38 return scaled_size; 38 return scaled_size;
39 } 39 }
40 40
41 // Icons. 41 // Icons.
42 42
43 gfx::ImageSkia GetCloseIcon() { 43 gfx::ImageSkia GetCloseIcon() {
44 return gfx::CreateVectorIcon(kNotificationCloseButtonIcon, 44 return gfx::CreateVectorIcon(kNotificationCloseButtonIcon,
45 gfx::kChromeIconGrey); 45 gfx::kChromeIconGrey);
46 } 46 }
47 47
48 gfx::ImageSkia GetSettingsIcon() {
49 return gfx::CreateVectorIcon(kNotificationSettingsButtonIcon,
50 gfx::kChromeIconGrey);
51 }
52
48 } // namespace message_center 53 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/message_center_style.h ('k') | ui/message_center/vector_icons/notification_settings_button.icon » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698