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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 15715014: app_mode: Add a flag for kiosk app settings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 kOsCrOS, 1094 kOsCrOS,
1095 SINGLE_VALUE_TYPE(switches::kDisableFullscreenApp), 1095 SINGLE_VALUE_TYPE(switches::kDisableFullscreenApp),
1096 }, 1096 },
1097 { 1097 {
1098 "disable-quickoffice-component-app", 1098 "disable-quickoffice-component-app",
1099 IDS_FLAGS_DISABLE_QUICKOFFICE_COMPONENT_APP_NAME, 1099 IDS_FLAGS_DISABLE_QUICKOFFICE_COMPONENT_APP_NAME,
1100 IDS_FLAGS_DISABLE_QUICKOFFICE_COMPONENT_APP_DESCRIPTION, 1100 IDS_FLAGS_DISABLE_QUICKOFFICE_COMPONENT_APP_DESCRIPTION,
1101 kOsCrOS, 1101 kOsCrOS,
1102 SINGLE_VALUE_TYPE(chromeos::switches::kDisableQuickofficeComponentApp), 1102 SINGLE_VALUE_TYPE(chromeos::switches::kDisableQuickofficeComponentApp),
1103 }, 1103 },
1104 {
1105 "enable-kiosk-app-settings",
1106 IDS_FLAGS_ENABLE_KIOSK_APP_SETTINGS_NAME,
1107 IDS_FLAGS_ENABLE_KIOSK_APP_SETTINGS_DESCRIPTION,
1108 kOsCrOSOwnerOnly,
1109 SINGLE_VALUE_TYPE(chromeos::switches::kEnableKioskAppSettings),
1110 },
1104 #endif // defined(OS_CHROMEOS) 1111 #endif // defined(OS_CHROMEOS)
1105 { 1112 {
1106 "views-textfield", 1113 "views-textfield",
1107 IDS_FLAGS_VIEWS_TEXTFIELD_NAME, 1114 IDS_FLAGS_VIEWS_TEXTFIELD_NAME,
1108 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION, 1115 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION,
1109 kOsWin, 1116 kOsWin,
1110 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield, 1117 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield,
1111 switches::kDisableViewsTextfield), 1118 switches::kDisableViewsTextfield),
1112 }, 1119 },
1113 { 1120 {
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1972 } 1979 }
1973 1980
1974 const Experiment* GetExperiments(size_t* count) { 1981 const Experiment* GetExperiments(size_t* count) {
1975 *count = num_experiments; 1982 *count = num_experiments;
1976 return experiments; 1983 return experiments;
1977 } 1984 }
1978 1985
1979 } // namespace testing 1986 } // namespace testing
1980 1987
1981 } // namespace about_flags 1988 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698