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

Side by Side Diff: chrome/browser/flag_descriptions.cc

Issue 2888203003: Add separate feature flag for VR CCT browsing. (Closed)
Patch Set: Add histogram enums + add matching buildflags for descriptions. Created 3 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/browser/flag_descriptions.h ('k') | tools/metrics/histograms/enums.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/browser/flag_descriptions.h" 5 #include "chrome/browser/flag_descriptions.h"
6 6
7 namespace flag_descriptions { 7 namespace flag_descriptions {
8 8
9 // Material Design version of chrome://bookmarks 9 // Material Design version of chrome://bookmarks
10 10
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 "used instead of this encoder/decoder."; 580 "used instead of this encoder/decoder.";
581 581
582 #endif // BUILDFLAG(ENABLE_WEBRTC) 582 #endif // BUILDFLAG(ENABLE_WEBRTC)
583 583
584 const char kWebvrName[] = "WebVR"; 584 const char kWebvrName[] = "WebVR";
585 585
586 const char kWebvrDescription[] = 586 const char kWebvrDescription[] =
587 "Enabling this option allows web applications to access experimental " 587 "Enabling this option allows web applications to access experimental "
588 "Virtual Reality APIs."; 588 "Virtual Reality APIs.";
589 589
590 #if BUILDFLAG(ENABLE_VR)
591
590 const char kWebvrExperimentalRenderingName[] = 592 const char kWebvrExperimentalRenderingName[] =
591 "WebVR experimental rendering optimizations"; 593 "WebVR experimental rendering optimizations";
592 594
593 const char kWebvrExperimentalRenderingDescription[] = 595 const char kWebvrExperimentalRenderingDescription[] =
594 "Enabling this option activates experimental rendering path " 596 "Enabling this option activates experimental rendering path "
595 "optimizations for WebVR."; 597 "optimizations for WebVR.";
596 598
599 #endif // BUILDFLAG(ENABLE_VR)
600
597 const char kGamepadExtensionsName[] = "Gamepad Extensions"; 601 const char kGamepadExtensionsName[] = "Gamepad Extensions";
598 602
599 const char kGamepadExtensionsDescription[] = 603 const char kGamepadExtensionsDescription[] =
600 "Enabling this option allows web applications to access experimental " 604 "Enabling this option allows web applications to access experimental "
601 "extensions to the Gamepad APIs."; 605 "extensions to the Gamepad APIs.";
602 606
603 #if defined(OS_ANDROID) 607 #if defined(OS_ANDROID)
604 608
605 const char kNewPhotoPickerName[] = "Enable new Photopicker"; 609 const char kNewPhotoPickerName[] = "Enable new Photopicker";
606 610
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after
2519 "gesture."; 2523 "gesture.";
2520 2524
2521 const char kVibrateRequiresUserGestureName[] = 2525 const char kVibrateRequiresUserGestureName[] =
2522 "Requiring user gesture for the Vibration API"; 2526 "Requiring user gesture for the Vibration API";
2523 2527
2524 const char kVibrateRequiresUserGestureDescription[] = 2528 const char kVibrateRequiresUserGestureDescription[] =
2525 "Block the Vibration API if no user gesture has been received on " 2529 "Block the Vibration API if no user gesture has been received on "
2526 "the frame or any embedded frame."; 2530 "the frame or any embedded frame.";
2527 2531
2528 #if defined(OS_ANDROID) 2532 #if defined(OS_ANDROID)
2529 2533 #if BUILDFLAG(ENABLE_VR)
2530 const char kEnableVrShellName[] = "Enable Chrome VR."; 2534 const char kEnableVrShellName[] = "Enable Chrome VR.";
2531 2535
2532 const char kEnableVrShellDescription[] = 2536 const char kEnableVrShellDescription[] =
2533 "Allow browsing with a VR headset if available for this device."; 2537 "Allow browsing with a VR headset if available for this device.";
2534 2538
2539 const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2540
2541 const char kVrCustomTabBrowsingDescription[] =
2542 "Allow browsing with a VR headset in a Custom Tab if available for this "
2543 "device.";
2544 #endif // BUILDFLAG(ENABLE_VR)
2535 #endif // defined(OS_ANDROID) 2545 #endif // defined(OS_ANDROID)
2536 2546
2537 // Web payments 2547 // Web payments
2538 2548
2539 const char kWebPaymentsName[] = "Web Payments"; 2549 const char kWebPaymentsName[] = "Web Payments";
2540 2550
2541 const char kWebPaymentsDescription[] = 2551 const char kWebPaymentsDescription[] =
2542 "Enable Web Payments API integration, a JavaScript API for merchants."; 2552 "Enable Web Payments API integration, a JavaScript API for merchants.";
2543 2553
2544 #if defined(OS_ANDROID) 2554 #if defined(OS_ANDROID)
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
3151 3161
3152 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 3162 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
3153 3163
3154 #if defined(OS_MACOSX) 3164 #if defined(OS_MACOSX)
3155 extern const char kMacRTLName[] = "Enable RTL"; 3165 extern const char kMacRTLName[] = "Enable RTL";
3156 extern const char kMacRTLDescription[] = 3166 extern const char kMacRTLDescription[] =
3157 "Mirrors the UI for RTL language users"; 3167 "Mirrors the UI for RTL language users";
3158 #endif 3168 #endif
3159 3169
3160 } // namespace flag_descriptions 3170 } // namespace flag_descriptions
OLDNEW
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698