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

Issue 2872773002: VR: Render the current URL and security level on the URL bar. (Closed)

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

Description

VR: Render the current URL and security level on the URL bar. - Don't refresh the URL bar texture if in WebVR mode. - Use the appropriate security icon based on level. - Don't draw any icon if there is no URL. - Hook up the Back button (currently the whole bar) for testing. BUG=715713 Review-Url: https://codereview.chromium.org/2872773002 Cr-Commit-Position: refs/heads/master@{#470465} Committed: https://chromium.googlesource.com/chromium/src/+/ec187eecfd39a18cb94f43132858c2f7b3525cc8

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fix text mocks; rebase. #

Patch Set 3 : Move kLockIcon to ui/vector_icons #

Patch Set 4 : Revert the inclusion of the lock icon; will re-add when moved to UI. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -24 lines) Patch
M chrome/browser/android/vr_shell/textures/url_bar_texture.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/url_bar_texture.cc View 1 2 3 4 chunks +39 lines, -11 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.cc View 2 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_browser_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 3 chunks +5 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (15 generated)
cjgrant
This breathes some life into the URL bar. Hit testing on the actual back button, ...
3 years, 7 months ago (2017-05-08 21:19:35 UTC) #2
cjgrant
https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/BUILD.gn File chrome/browser/android/vr_shell/BUILD.gn (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/BUILD.gn#newcode90 chrome/browser/android/vr_shell/BUILD.gn:90: "//chrome/app/vector_icons", I'm checking whether this impacts binary size.
3 years, 7 months ago (2017-05-08 21:22:56 UTC) #3
mthiesse
lgtm https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/BUILD.gn File chrome/browser/android/vr_shell/BUILD.gn (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/BUILD.gn#newcode90 chrome/browser/android/vr_shell/BUILD.gn:90: "//chrome/app/vector_icons", On 2017/05/08 21:22:56, cjgrant wrote: > I'm ...
3 years, 7 months ago (2017-05-08 21:39:30 UTC) #4
amp
lgtm https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode230 chrome/browser/android/vr_shell/vr_shell.cc:230: Java_VrShellImpl_navigateBack(env, j_vr_shell_.obj()); I was going to say we ...
3 years, 7 months ago (2017-05-08 21:45:25 UTC) #5
cjgrant
https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/textures/url_bar_texture.cc File chrome/browser/android/vr_shell/textures/url_bar_texture.cc (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/textures/url_bar_texture.cc#newcode136 chrome/browser/android/vr_shell/textures/url_bar_texture.cc:136: PaintVectorIcon(&gfx_canvas, security_icon, kForeground); On 2017/05/08 21:39:30, mthiesse wrote: > ...
3 years, 7 months ago (2017-05-09 00:57:42 UTC) #6
tiborg
lgtm with suggestions https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/textures/url_bar_texture.cc File chrome/browser/android/vr_shell/textures/url_bar_texture.cc (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/textures/url_bar_texture.cc#newcode125 chrome/browser/android/vr_shell/textures/url_bar_texture.cc:125: // TODO(cjgrant): Plug in the correct ...
3 years, 7 months ago (2017-05-09 15:00:36 UTC) #7
amp
https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2872773002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode230 chrome/browser/android/vr_shell/vr_shell.cc:230: Java_VrShellImpl_navigateBack(env, j_vr_shell_.obj()); On 2017/05/09 15:00:36, tiborg wrote: > On ...
3 years, 7 months ago (2017-05-09 16:38:07 UTC) #8
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/2872773002/20001
3 years, 7 months ago (2017-05-09 19:18:50 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/264984) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-09 19:25:23 UTC) #13
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/2872773002/60001
3 years, 7 months ago (2017-05-10 03:22:23 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 04:58:21 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ec187eecfd39a18cb94f43132858...

Powered by Google App Engine
This is Rietveld 408576698