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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 7033022: Adding support for loading custom locale resources using a command line flag (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing Jeremy's comments Created 9 years, 7 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 | « chrome/common/chrome_switches.h ('k') | ui/base/resource/resource_bundle_posix.cc » ('j') | 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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 const char kFirstRun[] = "first-run"; 566 const char kFirstRun[] = "first-run";
567 567
568 // Forces the apps/webstore promo to be shown, independent of whether it has 568 // Forces the apps/webstore promo to be shown, independent of whether it has
569 // timed out, etc. Useful for testing. 569 // timed out, etc. Useful for testing.
570 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; 570 const char kForceAppsPromoVisible[] = "force-apps-promo-visible";
571 571
572 // If accelerated compositing is supported, always enter compositing mode for 572 // If accelerated compositing is supported, always enter compositing mode for
573 // the base layer even when compositing is not strictly required. 573 // the base layer even when compositing is not strictly required.
574 const char kForceCompositingMode[] = "force-compositing-mode"; 574 const char kForceCompositingMode[] = "force-compositing-mode";
575 575
576 // Load the locale resources from the given path. When running on Mac/Unix the
577 // path should point to a locale.pak file.
578 const char kForceLocaleResourcesPathSwitch[] = "force_locale_resources_path";
Mark Mentovai 2011/05/23 16:20:34 I would just call this const char kLocalePakSwitc
579
576 // Force renderer accessibility to be on instead of enabling it on demand when 580 // Force renderer accessibility to be on instead of enabling it on demand when
577 // a screen reader is detected. The disable-renderer-accessibility switch 581 // a screen reader is detected. The disable-renderer-accessibility switch
578 // overrides this if present. 582 // overrides this if present.
579 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 583 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
580 584
581 // Specifies a custom name for the GSSAPI library to load. 585 // Specifies a custom name for the GSSAPI library to load.
582 const char kGSSAPILibraryName[] = "gssapi-library-name"; 586 const char kGSSAPILibraryName[] = "gssapi-library-name";
583 587
584 // These flags show the man page on Linux. They are equivalent to each 588 // These flags show the man page on Linux. They are equivalent to each
585 // other. 589 // other.
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 1196
1193 // ----------------------------------------------------------------------------- 1197 // -----------------------------------------------------------------------------
1194 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1198 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1195 // 1199 //
1196 // You were going to just dump your switches here, weren't you? Instead, 1200 // You were going to just dump your switches here, weren't you? Instead,
1197 // please put them in alphabetical order above, or in order inside the 1201 // please put them in alphabetical order above, or in order inside the
1198 // appropriate ifdef at the bottom. The order should match the header. 1202 // appropriate ifdef at the bottom. The order should match the header.
1199 // ----------------------------------------------------------------------------- 1203 // -----------------------------------------------------------------------------
1200 1204
1201 } // namespace switches 1205 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | ui/base/resource/resource_bundle_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698