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

Issue 2657703002: Swap to foreground tab when following links that open in a new tab/window in VR Shell. (Closed)

Created:
3 years, 11 months ago by mthiesse
Modified:
3 years, 11 months ago
Reviewers:
bshe, amp
CC:
chromium-reviews, feature-vr-reviews_chromium.org, agrieve+watch_chromium.org, billorr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Swap to foreground tab when following links that open in a new tab/window in VR Shell. This implements basic tab switching functionality for VR Shell to switch to the foreground tab. Currently no UI indicates that this has happened, and no UI has been created to allow for tab switching in any case other than opening links in a new window. BUG=670452 Review-Url: https://codereview.chromium.org/2657703002 Cr-Commit-Position: refs/heads/master@{#446356} Committed: https://chromium.googlesource.com/chromium/src/+/027ca1e1259f228e14ad253169ef0263963122fe

Patch Set 1 #

Patch Set 2 : nit #

Patch Set 3 : nit #

Patch Set 4 : Address comment #

Total comments: 6

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -81 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 4 7 chunks +30 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 2 3 4 8 chunks +43 lines, -14 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_compositor.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_compositor.cc View 3 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_input_manager.h View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_input_manager.cc View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 12 chunks +62 lines, -34 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 4 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_web_contents_observer.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_web_contents_observer.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
mthiesse
PTAL bshe. Adding billorr to review the TODO in VrShell::SwapContents, and whether it's okay to ...
3 years, 11 months ago (2017-01-24 21:18:44 UTC) #2
bsheedy
On 2017/01/24 21:18:44, mthiesse wrote: > PTAL bshe. > > Adding billorr to review the ...
3 years, 11 months ago (2017-01-24 21:21:45 UTC) #3
mthiesse
+amp to review in bill's place.
3 years, 11 months ago (2017-01-24 21:22:59 UTC) #5
amp
On 2017/01/24 21:22:59, mthiesse wrote: > +amp to review in bill's place. I'm not as ...
3 years, 11 months ago (2017-01-24 21:44:43 UTC) #6
amp
On 2017/01/24 21:44:43, amp wrote: > On 2017/01/24 21:22:59, mthiesse wrote: > > +amp to ...
3 years, 11 months ago (2017-01-24 21:51:53 UTC) #7
mthiesse
On 2017/01/24 21:44:43, amp wrote: > On 2017/01/24 21:22:59, mthiesse wrote: > > +amp to ...
3 years, 11 months ago (2017-01-24 21:54:55 UTC) #8
bshe
https://codereview.chromium.org/2657703002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2657703002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode279 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:279: if (!canEnterVR(tab)) forceExitVr(); return after forceExitVr? https://codereview.chromium.org/2657703002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java ...
3 years, 11 months ago (2017-01-25 22:15:45 UTC) #9
mthiesse
https://codereview.chromium.org/2657703002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2657703002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode279 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:279: if (!canEnterVR(tab)) forceExitVr(); On 2017/01/25 22:15:45, bshe wrote: > ...
3 years, 11 months ago (2017-01-25 22:34:26 UTC) #10
bshe
lgtm
3 years, 11 months ago (2017-01-26 16:11:20 UTC) #11
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/2657703002/80001
3 years, 11 months ago (2017-01-26 16:17:39 UTC) #13
amp
lgtm
3 years, 11 months ago (2017-01-26 16:34:54 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 16:54:41 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/027ca1e1259f228e14ad253169ef...

Powered by Google App Engine
This is Rietveld 408576698