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

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

Issue 1969303002: Upstream WebAPK notification related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | 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) 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 10
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; 546 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting";
547 547
548 // Enables Alternate-Protocol when the port is user controlled (> 1024). 548 // Enables Alternate-Protocol when the port is user controlled (> 1024).
549 const char kEnableUserAlternateProtocolPorts[] = 549 const char kEnableUserAlternateProtocolPorts[] =
550 "enable-user-controlled-alternate-protocol-ports"; 550 "enable-user-controlled-alternate-protocol-ports";
551 551
552 // Enables a new "web app" style frame for hosted apps (including bookmark 552 // Enables a new "web app" style frame for hosted apps (including bookmark
553 // apps). 553 // apps).
554 const char kEnableWebAppFrame[] = "enable-web-app-frame"; 554 const char kEnableWebAppFrame[] = "enable-web-app-frame";
555 555
556 #if defined(OS_ANDROID)
557 // Enables "Add to Home screen" in the app menu to generate WebAPKs.
558 const char kEnableWebApk[] = "enable-webapk";
559 #endif
560
556 // Enables Web Notification custom layouts. 561 // Enables Web Notification custom layouts.
557 const char kEnableWebNotificationCustomLayouts[] = 562 const char kEnableWebNotificationCustomLayouts[] =
558 "enable-web-notification-custom-layouts"; 563 "enable-web-notification-custom-layouts";
559 564
560 // Values for the kExtensionContentVerification flag. 565 // Values for the kExtensionContentVerification flag.
561 // See ContentVerifierDelegate::Mode for more explanation. 566 // See ContentVerifierDelegate::Mode for more explanation.
562 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; 567 const char kExtensionContentVerificationBootstrap[] = "bootstrap";
563 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; 568 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict";
564 const char kExtensionContentVerificationEnforce[] = "enforce"; 569 const char kExtensionContentVerificationEnforce[] = "enforce";
565 570
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 1367
1363 // ----------------------------------------------------------------------------- 1368 // -----------------------------------------------------------------------------
1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1365 // 1370 //
1366 // You were going to just dump your switches here, weren't you? Instead, please 1371 // You were going to just dump your switches here, weren't you? Instead, please
1367 // put them in alphabetical order above, or in order inside the appropriate 1372 // put them in alphabetical order above, or in order inside the appropriate
1368 // ifdef at the bottom. The order should match the header. 1373 // ifdef at the bottom. The order should match the header.
1369 // ----------------------------------------------------------------------------- 1374 // -----------------------------------------------------------------------------
1370 1375
1371 } // namespace switches 1376 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698