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

Issue 2635123002: Fix VrShell resizing incorrectly by setting the CompositorViewHolder to a fixed size when in VR. (Closed)

Created:
3 years, 11 months ago by mthiesse
Modified:
3 years, 11 months ago
Reviewers:
boliu
CC:
chromium-reviews, jam, feature-vr-reviews_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, Ted C
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix VrShell resizing incorrectly by setting the CompositorViewHolder to a fixed size when in VR. BUG=680240

Patch Set 1 #

Patch Set 2 : Set CompositorViewHolder size instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrClassesBuilder.java View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrClassesBuilderImpl.java View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 6 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 17 (2 generated)
mthiesse
PTAL. Open to other suggestions, this is a pretty hacky approach but should at least ...
3 years, 11 months ago (2017-01-16 23:09:03 UTC) #2
boliu
On 2017/01/16 23:09:03, mthiesse wrote: > PTAL. Open to other suggestions, this is a pretty ...
3 years, 11 months ago (2017-01-17 16:05:49 UTC) #3
mthiesse1
On 2017/01/17 16:05:49, boliu wrote: > On 2017/01/16 23:09:03, mthiesse wrote: > > PTAL. Open ...
3 years, 11 months ago (2017-01-17 17:15:17 UTC) #4
boliu
On 2017/01/17 17:15:17, mthiesse1 wrote: > On 2017/01/17 16:05:49, boliu wrote: > > On 2017/01/16 ...
3 years, 11 months ago (2017-01-17 17:30:52 UTC) #5
mthiesse
On 2017/01/17 17:30:52, boliu wrote: > On 2017/01/17 17:15:17, mthiesse1 wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 18:08:58 UTC) #6
boliu
On 2017/01/17 18:08:58, mthiesse wrote: > On 2017/01/17 17:30:52, boliu wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 18:18:15 UTC) #7
amp
On 2017/01/17 18:18:15, boliu wrote: > On 2017/01/17 18:08:58, mthiesse wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 18:31:08 UTC) #8
mthiesse
On 2017/01/17 18:31:08, amp wrote: > On 2017/01/17 18:18:15, boliu wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 18:43:38 UTC) #9
mthiesse
> But that's not expressed in this CL. Someone else comes along and wants to ...
3 years, 11 months ago (2017-01-17 18:44:54 UTC) #10
amp
On 2017/01/17 18:31:08, amp wrote: > On 2017/01/17 18:18:15, boliu wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 19:01:33 UTC) #11
boliu
On 2017/01/17 18:44:54, mthiesse wrote: > > But that's not expressed in this CL. Someone ...
3 years, 11 months ago (2017-01-17 19:06:23 UTC) #12
mthiesse
On 2017/01/17 19:06:23, boliu wrote: > On 2017/01/17 18:44:54, mthiesse wrote: > > > But ...
3 years, 11 months ago (2017-01-17 19:15:34 UTC) #13
mthiesse
PTAL, this is more analogous to your original suggestion of changing the ContentView LayoutParams, but ...
3 years, 11 months ago (2017-01-17 21:23:03 UTC) #15
boliu
On 2017/01/17 21:23:03, mthiesse wrote: > PTAL, this is more analogous to your original suggestion ...
3 years, 11 months ago (2017-01-18 00:50:36 UTC) #16
boliu
3 years, 11 months ago (2017-01-18 01:22:35 UTC) #17
Message was sent while issue was closed.
On 2017/01/18 00:50:36, boliu wrote:
> At this point, this needs to modify chrome code a bit to add exactly what VR
> needs. I imagine it's not going to be too different from
> mOverlayContentWidth/HeightMeasureSpec? Maybe can refactor that to be generic?
> And then add a test.

Or yeah, do what ted said on the bug. I don't know chrome code all that well, so
shouldn't take my advice on it.

Powered by Google App Engine
This is Rietveld 408576698