Initial implementation of sidebar-style message center
This CL add a widget and a root view for Sidebar behind a flag. This is an initial implementation which has only basic feature of sidebar. The detailed behavior will be implemented in succeeding patches.
Design doc: go/cros-sidebar
Mock: go/cros-sidebar-mock (Early State)
Bug: 726250
Change-Id: I3ac1239f8509136eafff16b659e0040e36f702b9
Reviewed-on: https://chromium-review.googlesource.com/748983
Commit-Queue: Yoshiki Iguchi <[email protected]>
Reviewed-by: Tetsui Ohkubo <[email protected]>
Reviewed-by: Mitsuru Oshima <[email protected]>
Cr-Commit-Position: refs/heads/master@{#520218}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 218b06a..ea8bb13 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1955,6 +1955,12 @@
SINGLE_VALUE_TYPE(extensions::switches::kEnableEmbeddedExtensionOptions)},
#endif // ENABLE_EXTENSIONS
#if !defined(OS_ANDROID)
+#if defined(OS_CHROMEOS)
+ {"enable-ash-sidebar", flag_descriptions::kAshSidebarName,
+ flag_descriptions::kAshSidebarDescription, kOsCrOS,
+ ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshSidebarEnabled,
+ ash::switches::kAshSidebarDisabled)},
+#endif // OS_CHROMEOS
{"enable-message-center-new-style-notification",
flag_descriptions::kMessageCenterNewStyleNotificationName,
flag_descriptions::kMessageCenterNewStyleNotificationDescription,