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

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

Issue 6749002: Do not show 'Print Preview' flag in about::flags of CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // "webgl", 187 // "webgl",
188 // IDS_FLAGS_WEBGL_NAME, 188 // IDS_FLAGS_WEBGL_NAME,
189 // IDS_FLAGS_WEBGL_DESCRIPTION, 189 // IDS_FLAGS_WEBGL_DESCRIPTION,
190 // kOsAll, 190 // kOsAll,
191 // SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) 191 // SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
192 // } 192 // }
193 { 193 {
194 "print-preview", // FLAGS:RECORD_UMA 194 "print-preview", // FLAGS:RECORD_UMA
195 IDS_FLAGS_PRINT_PREVIEW_NAME, 195 IDS_FLAGS_PRINT_PREVIEW_NAME,
196 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, 196 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION,
197 kOsAll, 197 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS.
198 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview) 198 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview)
199 }, 199 },
200 { 200 {
201 "enable-nacl", // FLAGS:RECORD_UMA 201 "enable-nacl", // FLAGS:RECORD_UMA
202 IDS_FLAGS_ENABLE_NACL_NAME, 202 IDS_FLAGS_ENABLE_NACL_NAME,
203 IDS_FLAGS_ENABLE_NACL_DESCRIPTION, 203 IDS_FLAGS_ENABLE_NACL_DESCRIPTION,
204 kOsAll, 204 kOsAll,
205 SINGLE_VALUE_TYPE(switches::kEnableNaCl) 205 SINGLE_VALUE_TYPE(switches::kEnableNaCl)
206 }, 206 },
207 { 207 {
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 726 }
727 727
728 const Experiment* GetExperiments(size_t* count) { 728 const Experiment* GetExperiments(size_t* count) {
729 *count = num_experiments; 729 *count = num_experiments;
730 return experiments; 730 return experiments;
731 } 731 }
732 732
733 } // namespace testing 733 } // namespace testing
734 734
735 } // namespace about_flags 735 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698