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

Side by Side Diff: ash/system/web_notification/web_notification_tray.cc

Issue 29263007: linux and chromeos: Turn on -Wunused-const-variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 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
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/system/web_notification/web_notification_tray.h" 5 #include "ash/system/web_notification/web_notification_tray.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_layout_manager_observer.h" 10 #include "ash/shelf/shelf_layout_manager_observer.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 } // namespace message_center 53 } // namespace message_center
54 54
55 #endif // defined(OS_CHROMEOS) 55 #endif // defined(OS_CHROMEOS)
56 56
57 namespace ash { 57 namespace ash {
58 namespace { 58 namespace {
59 59
60 // Menu commands 60 // Menu commands
61 const int kToggleQuietMode = 0; 61 const int kToggleQuietMode = 0;
62 const int kEnableQuietModeHour = 1;
63 const int kEnableQuietModeDay = 2; 62 const int kEnableQuietModeDay = 2;
64 63
65 } 64 }
66 65
67 namespace internal { 66 namespace internal {
68 namespace { 67 namespace {
69 68
70 const SkColor kWebNotificationColorNoUnread = SkColorSetA(SK_ColorWHITE, 128); 69 const SkColor kWebNotificationColorNoUnread = SkColorSetA(SK_ColorWHITE, 128);
71 const SkColor kWebNotificationColorWithUnread = SK_ColorWHITE; 70 const SkColor kWebNotificationColorWithUnread = SK_ColorWHITE;
72 71
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 607
609 message_center::MessageCenterBubble* 608 message_center::MessageCenterBubble*
610 WebNotificationTray::GetMessageCenterBubbleForTest() { 609 WebNotificationTray::GetMessageCenterBubbleForTest() {
611 if (!message_center_bubble()) 610 if (!message_center_bubble())
612 return NULL; 611 return NULL;
613 return static_cast<message_center::MessageCenterBubble*>( 612 return static_cast<message_center::MessageCenterBubble*>(
614 message_center_bubble()->bubble()); 613 message_center_bubble()->bubble());
615 } 614 }
616 615
617 } // namespace ash 616 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698