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

Issue 2470583002: Add VrShell feature flag and wire it up to VrShell delegate. (Closed)

Created:
4 years, 1 month ago by amp
Modified:
4 years, 1 month ago
CC:
agrieve+watch_chromium.org, asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add VrShell feature flag and wire it up to VrShell delegate. This is in preparation for a finch experiment and also updates existing VrShell command line switch, and about:flags language. When the feature is enabled it will enable WebVR and GamepadExtension features. BUG=655199 Committed: https://crrev.com/136c3e8264f81f9e41f71982bcbe8cffa080d90c Cr-Commit-Position: refs/heads/master@{#429892}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Rebase to pick up webvr fix. #

Patch Set 4 : only check library loader if null #

Patch Set 5 : Hide in about://flags unless the build flag is included. #

Total comments: 6

Patch Set 6 : Address comments. #

Patch Set 7 : only check flag when vr shell build flag is enabled #

Patch Set 8 : have feature on all platforms, not behind build flag (still only in about://flags when build flag i… #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -22 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 8 chunks +29 lines, -9 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -6 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 4 5 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
mthiesse
https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode40 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:40: private boolean mVrShellEnabled = false; Clank style is to ...
4 years, 1 month ago (2016-11-01 01:20:59 UTC) #2
amp
https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode40 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:40: private boolean mVrShellEnabled = false; On 2016/11/01 01:20:59, mthiesse ...
4 years, 1 month ago (2016-11-01 18:45:31 UTC) #3
mthiesse
lgtm https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode395 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:395: return mVrAvailable && mVrShellEnabled; On 2016/11/01 18:45:31, amp ...
4 years, 1 month ago (2016-11-01 18:51:20 UTC) #4
amp
jochen@: Can you review the content/feature list parts and the histograms change? rkaplow@: Finch ambassador ...
4 years, 1 month ago (2016-11-01 22:19:27 UTC) #6
amp
https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2470583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode395 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:395: return mVrAvailable && mVrShellEnabled; On 2016/11/01 18:51:20, mthiesse wrote: ...
4 years, 1 month ago (2016-11-01 22:41:02 UTC) #7
jochen (gone - plz use gerrit)
I can only approve UseCounter additions to histograms.xml, please ask a metrics owner to review ...
4 years, 1 month ago (2016-11-02 11:00:56 UTC) #8
rkaplow
https://codereview.chromium.org/2470583002/diff/80001/content/child/runtime_features.cc File content/child/runtime_features.cc (right): https://codereview.chromium.org/2470583002/diff/80001/content/child/runtime_features.cc#newcode317 content/child/runtime_features.cc:317: if (base::FeatureList::IsEnabled(features::kVrShell)){ ws after ) https://codereview.chromium.org/2470583002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): ...
4 years, 1 month ago (2016-11-02 15:45:51 UTC) #9
amp
On 2016/11/02 11:00:56, jochen wrote: > I can only approve UseCounter additions to histograms.xml, please ...
4 years, 1 month ago (2016-11-02 18:31:24 UTC) #10
amp
https://codereview.chromium.org/2470583002/diff/80001/content/child/runtime_features.cc File content/child/runtime_features.cc (right): https://codereview.chromium.org/2470583002/diff/80001/content/child/runtime_features.cc#newcode317 content/child/runtime_features.cc:317: if (base::FeatureList::IsEnabled(features::kVrShell)){ On 2016/11/02 15:45:50, rkaplow wrote: > ws ...
4 years, 1 month ago (2016-11-02 18:32:03 UTC) #11
rkaplow
lgtm
4 years, 1 month ago (2016-11-02 23:05:21 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 1 month ago (2016-11-03 11:54:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2470583002/160001
4 years, 1 month ago (2016-11-04 15:21:57 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 1 month ago (2016-11-04 15:28:33 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 15:32:16 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/136c3e8264f81f9e41f71982bcbe8cffa080d90c
Cr-Commit-Position: refs/heads/master@{#429892}

Powered by Google App Engine
This is Rietveld 408576698