Chromium Code Reviews
DescriptionImplement lazy initialization for VrShellDelegate
This allows VrShellDelegate to be created when it's needed, removing memory overhead for VR support when VR is not used.
This CL also allows for VrShellDelegate to be destroyed once it's no longer needed as well, but that will be implemented in a follow up CL.
Also also, this paves the way for allowing VrShellDelegate to attach to arbitrary ChromeActivities in the future (though for now only CTA is supported)
Also also also, this fixes VrShellDelegate being accessible from CCT (and webview?) so that they now correctly return no displays available.
BUG=655297, 689293
Review-Url: https://codereview.chromium.org/2727873002
Cr-Commit-Position: refs/heads/master@{#454474}
(cherry picked from commit 182cf17def973f5d7a981025afb65ebd6f022ca9)
Review-Url: https://codereview.chromium.org/2730903007 .
Cr-Commit-Position: refs/branch-heads/3029@{#3}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}
Committed: https://chromium.googlesource.com/chromium/src/+/7cc487a97758ef4bdb217f80bf3eee82c13c9f6d
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|