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

Issue 2524423002: VR: Disable Overscroll Glow in VrShell (Closed)

Created:
4 years ago by asimjour1
Modified:
4 years ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, feature-vr-reviews_chromium.org, darin-cc_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VR: Disable Overscroll Glow in VrShell Disable the overscroll glow in VrShell. The overscroll controller is still working, but the animation is disabled when the user is in VR. BUG=660051 Committed: https://crrev.com/54ea8b659913ce3528c53c6bd675c332d8189796 Cr-Commit-Position: refs/heads/master@{#437282}

Patch Set 1 #

Total comments: 2

Patch Set 2 : VR: Disable Overscroll Glow in VrShell #

Total comments: 8

Patch Set 3 : Rebase #

Patch Set 4 : Fix thread issue + Rebase #

Total comments: 4

Patch Set 5 : VR: Disable Overscroll Glow in VrShell #

Total comments: 4

Patch Set 6 : Rebase + Rename VrShell::SetShowingOverscrollGlow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -1 line) Patch
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_web_contents_observer.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_web_contents_observer.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 chunks +7 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
mthiesse
https://codereview.chromium.org/2524423002/diff/1/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/2524423002/diff/1/content/public/browser/render_widget_host_view.h#newcode67 content/public/browser/render_widget_host_view.h:67: // Tells the viewer whether the overscroll glow is ...
4 years ago (2016-11-24 16:45:07 UTC) #4
asimjour1
PTAL https://codereview.chromium.org/2524423002/diff/1/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/2524423002/diff/1/content/public/browser/render_widget_host_view.h#newcode67 content/public/browser/render_widget_host_view.h:67: // Tells the viewer whether the overscroll glow ...
4 years ago (2016-11-24 16:55:56 UTC) #6
bshe
https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode239 chrome/browser/android/vr_shell/vr_shell.cc:239: SetShowingOverscrollGlow(false); I am assuming this is the place that ...
4 years ago (2016-11-25 14:55:00 UTC) #7
asimjour1
PTAL https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode239 chrome/browser/android/vr_shell/vr_shell.cc:239: SetShowingOverscrollGlow(false); On 2016/11/25 14:55:00, bshe wrote: > I ...
4 years ago (2016-12-01 20:17:45 UTC) #8
bshe
https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode239 chrome/browser/android/vr_shell/vr_shell.cc:239: SetShowingOverscrollGlow(false); On 2016/12/01 20:17:45, asimjour1 wrote: > On 2016/11/25 ...
4 years ago (2016-12-01 20:43:42 UTC) #9
mthiesse
https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode239 chrome/browser/android/vr_shell/vr_shell.cc:239: SetShowingOverscrollGlow(false); On 2016/12/01 20:43:41, bshe wrote: > On 2016/12/01 ...
4 years ago (2016-12-01 22:15:39 UTC) #10
asimjour1
https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode239 chrome/browser/android/vr_shell/vr_shell.cc:239: SetShowingOverscrollGlow(false); On 2016/12/01 22:15:39, mthiesse wrote: > On 2016/12/01 ...
4 years ago (2016-12-05 18:57:08 UTC) #11
mthiesse
lgtm https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc File chrome/browser/android/vr_shell/vr_web_contents_observer.cc (right): https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc#newcode68 chrome/browser/android/vr_shell/vr_web_contents_observer.cc:68: new_host->GetWidget()->GetView()->SetShowingOverscrollGlow(false); Should we check for NULL first? Or ...
4 years ago (2016-12-05 19:02:30 UTC) #13
bshe
lgtm with one nit https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc#newcode19 chrome/browser/android/vr_shell/vr_shell.cc:19: #include "content/public/browser/browser_thread.h" nit: this include ...
4 years ago (2016-12-05 19:25:56 UTC) #14
asimjour1
@creis, please take a look at content/* https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2524423002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc#newcode19 chrome/browser/android/vr_shell/vr_shell.cc:19: #include "content/public/browser/browser_thread.h" ...
4 years ago (2016-12-05 19:37:31 UTC) #15
sadrul
https://codereview.chromium.org/2524423002/diff/80001/content/public/browser/render_widget_host_view.h File content/public/browser/render_widget_host_view.h (right): https://codereview.chromium.org/2524423002/diff/80001/content/public/browser/render_widget_host_view.h#newcode68 content/public/browser/render_widget_host_view.h:68: virtual void SetShowingOverscrollGlow(bool showing) = 0; Note that there's ...
4 years ago (2016-12-06 20:29:23 UTC) #16
Charlie Reis
content/ LGTM. https://codereview.chromium.org/2524423002/diff/80001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc File chrome/browser/android/vr_shell/vr_web_contents_observer.cc (right): https://codereview.chromium.org/2524423002/diff/80001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc#newcode65 chrome/browser/android/vr_shell/vr_web_contents_observer.cc:65: void VrWebContentsObserver::RenderViewHostChanged( Note that RenderViewHost is on ...
4 years ago (2016-12-06 22:51:42 UTC) #17
asimjour1
https://codereview.chromium.org/2524423002/diff/80001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc File chrome/browser/android/vr_shell/vr_web_contents_observer.cc (right): https://codereview.chromium.org/2524423002/diff/80001/chrome/browser/android/vr_shell/vr_web_contents_observer.cc#newcode65 chrome/browser/android/vr_shell/vr_web_contents_observer.cc:65: void VrWebContentsObserver::RenderViewHostChanged( On 2016/12/06 22:51:42, Charlie Reis (OOO) wrote: ...
4 years ago (2016-12-08 16:59:15 UTC) #18
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/2524423002/100001
4 years ago (2016-12-08 17:02:00 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-08 17:59:04 UTC) #24
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/54ea8b659913ce3528c53c6bd675c332d8189796 Cr-Commit-Position: refs/heads/master@{#437282}
4 years ago (2016-12-08 18:03:27 UTC) #26
rlanday
Quick question for a refactor I'm working on (https://codereview.chromium.org/2528823002/): is it intentional that you reset ...
4 years ago (2016-12-08 19:06:24 UTC) #27
boliu
4 years ago (2016-12-08 19:13:30 UTC) #28
Message was sent while issue was closed.
On 2016/12/08 19:06:24, rlanday wrote:
> Quick question for a refactor I'm working on
> (https://codereview.chromium.org/2528823002/): is it intentional that you
reset
> is_showing_overscroll_glow_ to true when SetContentViewCore() is called but
not
> when OnAttachCompositor() is called? Both of these methods can potentially
call
> CreateOverscrollController().

Also.. does RenderViewHostChanged cover interstitials? I think the setting
should be on webcontents instead.

Powered by Google App Engine
This is Rietveld 408576698