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

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

Issue 2544973002: Make chrome://flags control whether the WebAPK feature is on (Closed)
Patch Set: Merge branch 'master' into feature_on_default Created 4 years 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 | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('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) 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 const char kEnableContextualSearchContextualCardsBarIntegration[] = 958 const char kEnableContextualSearchContextualCardsBarIntegration[] =
959 "cs-contextual-cards-bar-integration"; 959 "cs-contextual-cards-bar-integration";
960 960
961 // Enables chrome hosted mode for Android. 961 // Enables chrome hosted mode for Android.
962 const char kEnableHostedMode[] = "enable-hosted-mode"; 962 const char kEnableHostedMode[] = "enable-hosted-mode";
963 963
964 // Enables a hung renderer InfoBar allowing the user to close or wait on 964 // Enables a hung renderer InfoBar allowing the user to close or wait on
965 // unresponsive web content. 965 // unresponsive web content.
966 const char kEnableHungRendererInfoBar[] = "enable-hung-renderer-infobar"; 966 const char kEnableHungRendererInfoBar[] = "enable-hung-renderer-infobar";
967 967
968 // Enables "Add to Home screen" in the app menu to generate WebAPKs.
969 const char kEnableWebApk[] = "enable-improved-a2hs";
970
971 // Forces the update menu badge to show. 968 // Forces the update menu badge to show.
972 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; 969 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge";
973 970
974 // Forces the update menu item to show. 971 // Forces the update menu item to show.
975 const char kForceShowUpdateMenuItem[] = "force-show-update-menu-item"; 972 const char kForceShowUpdateMenuItem[] = "force-show-update-menu-item";
976 973
977 // Forces a custom summary to be displayed below the update menu item. 974 // Forces a custom summary to be displayed below the update menu item.
978 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary"; 975 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary";
979 976
980 // Forces the new features summary to be displayed below the update menu item. 977 // Forces the new features summary to be displayed below the update menu item.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 1252
1256 // ----------------------------------------------------------------------------- 1253 // -----------------------------------------------------------------------------
1257 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1254 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1258 // 1255 //
1259 // You were going to just dump your switches here, weren't you? Instead, please 1256 // You were going to just dump your switches here, weren't you? Instead, please
1260 // put them in alphabetical order above, or in order inside the appropriate 1257 // put them in alphabetical order above, or in order inside the appropriate
1261 // ifdef at the bottom. The order should match the header. 1258 // ifdef at the bottom. The order should match the header.
1262 // ----------------------------------------------------------------------------- 1259 // -----------------------------------------------------------------------------
1263 1260
1264 } // namespace switches 1261 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698