OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/app_list/app_list_switches.h" | 5 #include "ui/app_list/app_list_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace app_list { | 9 namespace app_list { |
10 namespace switches { | 10 namespace switches { |
11 | 11 |
| 12 // Specifies the chrome-extension:// URL for the contents of an additional page |
| 13 // added to the experimental app launcher. |
| 14 const char kCustomLauncherPage[] = "custom-launcher-page"; |
| 15 |
12 // If set, the app info context menu item is not available in the app list UI. | 16 // If set, the app info context menu item is not available in the app list UI. |
13 const char kDisableAppInfo[] = "disable-app-list-app-info"; | 17 const char kDisableAppInfo[] = "disable-app-list-app-info"; |
14 | 18 |
15 // If set, Drive apps will not be shown side-by-side with Chrome apps. | 19 // If set, Drive apps will not be shown side-by-side with Chrome apps. |
16 const char kDisableDriveAppsInAppList[] = "disable-drive-apps-in-app-list"; | 20 const char kDisableDriveAppsInAppList[] = "disable-drive-apps-in-app-list"; |
17 | 21 |
18 // Disables syncing of the app list independent of extensions. | 22 // Disables syncing of the app list independent of extensions. |
19 const char kDisableSyncAppList[] = "disable-sync-app-list"; | 23 const char kDisableSyncAppList[] = "disable-sync-app-list"; |
20 | 24 |
21 // If set, the app list will be centered and wide instead of tall. | 25 // If set, the app list will be centered and wide instead of tall. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 #if defined(OS_CHROMEOS) | 80 #if defined(OS_CHROMEOS) |
77 return !CommandLine::ForCurrentProcess()->HasSwitch( | 81 return !CommandLine::ForCurrentProcess()->HasSwitch( |
78 kDisableDriveAppsInAppList); | 82 kDisableDriveAppsInAppList); |
79 #else | 83 #else |
80 return false; | 84 return false; |
81 #endif | 85 #endif |
82 } | 86 } |
83 | 87 |
84 } // namespace switches | 88 } // namespace switches |
85 } // namespace app_list | 89 } // namespace app_list |
OLD | NEW |