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

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

Issue 11048045: Allow settings dialog to be opened via the app launcher, as a packaged app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: license stanza Created 8 years, 2 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
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/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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // Enables or disables extension scripts badges in the location bar. 626 // Enables or disables extension scripts badges in the location bar.
627 const char kScriptBadges[] = "script-badges"; 627 const char kScriptBadges[] = "script-badges";
628 628
629 // Controls the support for SDCH filtering (dictionary based expansion of 629 // Controls the support for SDCH filtering (dictionary based expansion of
630 // content). By default SDCH filtering is enabled. To disable SDCH filtering, 630 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
631 // use "--enable-sdch=0" as command line argument. SDCH is currently only 631 // use "--enable-sdch=0" as command line argument. SDCH is currently only
632 // supported server-side for searches on google.com. 632 // supported server-side for searches on google.com.
633 const char kEnableSdch[] = "enable-sdch"; 633 const char kEnableSdch[] = "enable-sdch";
634 634
635 // Enable the settings WebUI dialog that installs as a packaged app.
636 const char kEnableSettingsApp[] = "enable-settings-app";
637
635 // Enable SPDY/3. This is a temporary testing flag. 638 // Enable SPDY/3. This is a temporary testing flag.
636 const char kEnableSpdy3[] = "enable-spdy3"; 639 const char kEnableSpdy3[] = "enable-spdy3";
637 640
638 // Enable SPDY CREDENTIAL frame support. This is a temporary testing flag. 641 // Enable SPDY CREDENTIAL frame support. This is a temporary testing flag.
639 const char kEnableSpdyCredentialFrames[] = "enable-spdy-credential-frames"; 642 const char kEnableSpdyCredentialFrames[] = "enable-spdy-credential-frames";
640 643
641 // Enables the stacked tabstrip. 644 // Enables the stacked tabstrip.
642 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; 645 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip";
643 646
644 // Enables experimental suggestions pane in New Tab page. 647 // Enables experimental suggestions pane in New Tab page.
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 } // namespace switches 1600 } // namespace switches
1598 1601
1599 namespace chrome { 1602 namespace chrome {
1600 1603
1601 bool IsFramelessConstrainedDialogEnabled() { 1604 bool IsFramelessConstrainedDialogEnabled() {
1602 return CommandLine::ForCurrentProcess()->HasSwitch( 1605 return CommandLine::ForCurrentProcess()->HasSwitch(
1603 switches::kEnableFramelessConstrainedDialogs); 1606 switches::kEnableFramelessConstrainedDialogs);
1604 } 1607 }
1605 1608
1606 } // namespace chrome 1609 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/resources/extensions/app_window_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698