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

Issue 2683823002: Disable DateTime, Color, and Select popups when in VR (Closed)

Created:
3 years, 10 months ago by billorr
Modified:
3 years, 6 months ago
CC:
amp, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, ddorwin, jam, nasko+codewatch_chromium.org, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable DateTime, Color, and Select popups when in VR These popups show as mono on top of stereo content, so can lead to discomfort. They will be re-enabled by a subsequent change. BUG=661243

Patch Set 1 #

Patch Set 2 : reformat todo's #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M components/web_contents_delegate_android/web_contents_delegate_android.cc View 1 1 chunk +5 lines, -0 lines 6 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
billorr
jochen@chromium.org: Please review all changes.
3 years, 10 months ago (2017-02-08 17:50:11 UTC) #12
mthiesse
https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode63 components/web_contents_delegate_android/web_contents_delegate_android.cc:63: NOTIMPLEMENTED(); I don't think we actually want NOTIMPLEMENTED() here... ...
3 years, 10 months ago (2017-02-08 18:27:57 UTC) #13
mthiesse
https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode63 components/web_contents_delegate_android/web_contents_delegate_android.cc:63: NOTIMPLEMENTED(); On 2017/02/08 18:27:57, mthiesse wrote: > I don't ...
3 years, 10 months ago (2017-02-08 18:29:13 UTC) #14
billorr
https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode63 components/web_contents_delegate_android/web_contents_delegate_android.cc:63: NOTIMPLEMENTED(); On 2017/02/08 18:29:12, mthiesse wrote: > On 2017/02/08 ...
3 years, 10 months ago (2017-02-08 19:02:46 UTC) #15
mthiesse
https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode63 components/web_contents_delegate_android/web_contents_delegate_android.cc:63: NOTIMPLEMENTED(); On 2017/02/08 19:02:46, billorr wrote: > On 2017/02/08 ...
3 years, 10 months ago (2017-02-08 19:24:46 UTC) #16
amp
https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://codereview.chromium.org/2683823002/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode63 components/web_contents_delegate_android/web_contents_delegate_android.cc:63: NOTIMPLEMENTED(); On 2017/02/08 19:24:46, mthiesse wrote: > On 2017/02/08 ...
3 years, 10 months ago (2017-02-08 19:31:40 UTC) #17
ddorwin
BUG should be 688122.
3 years, 9 months ago (2017-02-27 06:29:25 UTC) #23
jochen (gone - plz use gerrit)
I'm waiting for one of the android folks to review the CL first
3 years, 9 months ago (2017-03-06 12:45:56 UTC) #24
mthiesse
lgtm from vr's perspective. I don't think we have any android owners other than you ...
3 years, 9 months ago (2017-03-06 15:33:07 UTC) #25
jochen (gone - plz use gerrit)
i'm not an android owner :)
3 years, 9 months ago (2017-03-06 15:37:33 UTC) #26
mthiesse
+boliu, PTAL
3 years, 9 months ago (2017-03-06 15:42:56 UTC) #28
boliu
3 years, 9 months ago (2017-03-06 22:38:10 UTC) #29
side note.. IsInVR should be on WebContents, rather than RenderWidgetHostView.
It makes no sense to what it means for one RenderWidget to be in VR mode and
another in the same webcontents to not be in VR mode

https://codereview.chromium.org/2683823002/diff/20001/components/web_contents...
File components/web_contents_delegate_android/web_contents_delegate_android.cc
(right):

https://codereview.chromium.org/2683823002/diff/20001/components/web_contents...
components/web_contents_delegate_android/web_contents_delegate_android.cc:61: if
(source->GetRenderWidgetHostView()->IsInVR()) {
instead of this check, make sure content doesn't call this in vr mode

then you don't need to expose IsInVR from content

Powered by Google App Engine
This is Rietveld 408576698