OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |