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

Side by Side Diff: ui/app_list/app_list_switches.cc

Issue 598463002: Move --custom-launcher-page switch into app_list_switches.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698