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

Unified Diff: ui/message_center/message_center_switches.cc

Issue 493303002: Make message center always scroll up upon notification removal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/message_center_switches.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_switches.cc
diff --git a/ui/message_center/message_center_switches.cc b/ui/message_center/message_center_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0907e24db3d1e8ffd795f487369119919807f912
--- /dev/null
+++ b/ui/message_center/message_center_switches.cc
@@ -0,0 +1,15 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/message_center/message_center_switches.h"
+
+namespace switches {
+
+// Enables message center to always move other notifications upwards when a
+// notification is removed, no matter whether the message center is displayed
+// top down or not.
+const char kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval[] =
+ "enable-message-center-always-scroll-up-upon-notification-removal";
+
+} // namespace switches
« no previous file with comments | « ui/message_center/message_center_switches.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698