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

Issue 2688813004: Enable scrolling of UI elements. (Closed)

Created:
3 years, 10 months ago by tiborg
Modified:
3 years, 10 months ago
Reviewers:
mthiesse, asimjour1, cjgrant
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable scrolling of UI elements. - Sends scrolling events to UI elements, which show web content. - The user can start scrolling an element (both UI and content) by pointing at it. - While scrolling the scroll events will be sent to the last scroll target. BUG=641487 Review-Url: https://codereview.chromium.org/2688813004 Cr-Commit-Position: refs/heads/master@{#450722} Committed: https://chromium.googlesource.com/chromium/src/+/56500fc237b6f33e7441b8cf3f830d50aaa87bdc

Patch Set 1 #

Total comments: 5

Patch Set 2 : Merged scrolling and hovering, rebased on ToT #

Patch Set 3 : Sent scroll events to latest scrolling target #

Total comments: 16

Patch Set 4 : Moved switch, uses MakeUnique #

Total comments: 2

Patch Set 5 : nit #

Patch Set 6 : Ditched const, rebased on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -31 lines) Patch
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 4 5 3 chunks +63 lines, -31 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
tiborg
mthiesse@chromium.org: PTAL cjgrant@chromium.org: PTAL
3 years, 10 months ago (2017-02-10 23:29:39 UTC) #2
mthiesse
https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode572 chrome/browser/android/vr_shell/vr_shell_gl.cc:572: // End the scrolling on the previous target. Can ...
3 years, 10 months ago (2017-02-13 15:47:08 UTC) #3
cjgrant
https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode569 chrome/browser/android/vr_shell/vr_shell_gl.cc:569: // Otherwise we will crash. No need for the ...
3 years, 10 months ago (2017-02-13 15:54:51 UTC) #4
asimjour1
On 2017/02/13 15:54:51, cjgrant wrote: > https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc > File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): > > https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode569 > ...
3 years, 10 months ago (2017-02-13 18:09:11 UTC) #5
tiborg
https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode569 chrome/browser/android/vr_shell/vr_shell_gl.cc:569: // Otherwise we will crash. On 2017/02/13 15:54:51, cjgrant ...
3 years, 10 months ago (2017-02-13 22:15:26 UTC) #7
tiborg
On 2017/02/13 18:09:11, asimjour1 wrote: > On 2017/02/13 15:54:51, cjgrant wrote: > > > https://codereview.chromium.org/2688813004/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc ...
3 years, 10 months ago (2017-02-13 22:16:15 UTC) #8
cjgrant
https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode512 chrome/browser/android/vr_shell/vr_shell_gl.cc:512: if (distance_to_plane > 0 && distance_to_plane < closest_element_distance) { ...
3 years, 10 months ago (2017-02-14 14:08:25 UTC) #10
tiborg
https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode512 chrome/browser/android/vr_shell/vr_shell_gl.cc:512: if (distance_to_plane > 0 && distance_to_plane < closest_element_distance) { ...
3 years, 10 months ago (2017-02-14 21:44:23 UTC) #11
mthiesse
lgtm https://codereview.chromium.org/2688813004/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode511 chrome/browser/android/vr_shell/vr_shell_gl.cc:511: if (!(distance_to_plane > 0 && nit: (distance_to_plane < ...
3 years, 10 months ago (2017-02-14 22:01:50 UTC) #12
mthiesse
lgtm https://codereview.chromium.org/2688813004/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode511 chrome/browser/android/vr_shell/vr_shell_gl.cc:511: if (!(distance_to_plane > 0 && nit: (distance_to_plane < ...
3 years, 10 months ago (2017-02-14 22:01:50 UTC) #13
cjgrant
lgtm with comments addressed. https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode568 chrome/browser/android/vr_shell/vr_shell_gl.cc:568: gesture->x = pixel_x; On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 22:37:41 UTC) #14
tiborg
https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode568 chrome/browser/android/vr_shell/vr_shell_gl.cc:568: gesture->x = pixel_x; On 2017/02/14 22:37:41, cjgrant wrote: > ...
3 years, 10 months ago (2017-02-14 23:13:53 UTC) #15
asimjour1
On 2017/02/14 23:13:53, tiborg wrote: > https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc > File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): > > https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode568 > ...
3 years, 10 months ago (2017-02-15 02:56:29 UTC) #16
mthiesse
On 2017/02/14 22:37:41, cjgrant wrote: > lgtm with comments addressed. > > https://codereview.chromium.org/2688813004/diff/40001/chrome/browser/android/vr_shell/vr_shell_gl.cc > File ...
3 years, 10 months ago (2017-02-15 15:05:59 UTC) #17
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/2688813004/100001
3 years, 10 months ago (2017-02-15 15:48:17 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 16:33:49 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/56500fc237b6f33e7441b8cf3f83...

Powered by Google App Engine
This is Rietveld 408576698