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

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

Issue 2892893002: Initial implementation of new-style notification (Closed)
Patch Set: addressed comments Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_switches.h" 5 #include "ui/message_center/message_center_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Enables message center to always move other notifications upwards when a 9 // Enables message center to always move other notifications upwards when a
10 // notification is removed, no matter whether the message center is displayed 10 // notification is removed, no matter whether the message center is displayed
11 // top down or not. 11 // top down or not.
12 const char kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval[] = 12 const char kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval[] =
13 "enable-message-center-always-scroll-up-upon-notification-removal"; 13 "enable-message-center-always-scroll-up-upon-notification-removal";
14 14
15 // Flag to enable or disable notification changes while the message center 15 // Flag to enable or disable notification changes while the message center
16 // opens. This flag will be removed once the feature gets stable. 16 // opens. This flag will be removed once the feature gets stable.
17 const char kMessageCenterChangesWhileOpen[] = 17 const char kMessageCenterChangesWhileOpen[] =
18 "message-center-changes-while-open"; 18 "message-center-changes-while-open";
19 19
20 // Flag to enable or disable new-style notification. This flag will be removed
21 // once the feature gets stable.
22 const char kEnableMessageCenterNewStyleNotification[] =
23 "enabled-new-style-notification";
24 const char kDisableMessageCenterNewStyleNotification[] =
25 "disabled-new-style-notification";
26
20 } // namespace switches 27 } // namespace switches
OLDNEW
« no previous file with comments | « ui/message_center/message_center_switches.h ('k') | ui/message_center/vector_icons/product.icon » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698