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

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
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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; 550 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting";
551 551
552 // Enables Alternate-Protocol when the port is user controlled (> 1024). 552 // Enables Alternate-Protocol when the port is user controlled (> 1024).
553 const char kEnableUserAlternateProtocolPorts[] = 553 const char kEnableUserAlternateProtocolPorts[] =
554 "enable-user-controlled-alternate-protocol-ports"; 554 "enable-user-controlled-alternate-protocol-ports";
555 555
556 // Enables a new "web app" style frame for hosted apps (including bookmark 556 // Enables a new "web app" style frame for hosted apps (including bookmark
557 // apps). 557 // apps).
558 const char kEnableWebAppFrame[] = "enable-web-app-frame"; 558 const char kEnableWebAppFrame[] = "enable-web-app-frame";
559 559
560 #if defined(OS_ANDROID)
561 // Enables "Add to Home screen" in the app menu to generate WebAPKs. WebAPKs are
562 // app-like home screen shortcuts.
563 // - WebAPKs show up in the app list.
564 // - Chrome supports deep linking to WebAPKs.
Peter Beverloo 2016/05/19 15:59:01 With my command-line-switches-lister[1]-hat on, do
pkotwicz 2016/05/20 00:45:19 You are right there are better places to document
565 const char kEnableWebApk[] = "enable-webapk";
566 #endif
567
560 // Enables Web Notification custom layouts. 568 // Enables Web Notification custom layouts.
561 const char kEnableWebNotificationCustomLayouts[] = 569 const char kEnableWebNotificationCustomLayouts[] =
562 "enable-web-notification-custom-layouts"; 570 "enable-web-notification-custom-layouts";
563 571
564 // Values for the kExtensionContentVerification flag. 572 // Values for the kExtensionContentVerification flag.
565 // See ContentVerifierDelegate::Mode for more explanation. 573 // See ContentVerifierDelegate::Mode for more explanation.
566 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; 574 const char kExtensionContentVerificationBootstrap[] = "bootstrap";
567 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; 575 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict";
568 const char kExtensionContentVerificationEnforce[] = "enforce"; 576 const char kExtensionContentVerificationEnforce[] = "enforce";
569 577
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1371
1364 // ----------------------------------------------------------------------------- 1372 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1374 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1375 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1376 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1377 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1371 1379
1372 } // namespace switches 1380 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698