New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755162 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Team-Security-UX



Sign in to add a comment

URL scheme should be emphasized while incognito

Project Member Reported by cjgrant@chromium.org, Aug 14 2017

Issue description

Chrome Version: ToT as of August 14 / M-62.

While developing the UI for the URL bar in VR, an in-depth conversation took place on scheme emphasis.  During this discussion, pkasting@ pointed out that Clank's formatting of scheme is incorrect while incognito.

See  issue 735759  comment 14 here:

https://bugs.chromium.org/p/chromium/issues/detail?id=735759#c14

Images of Clank's current scheme, and VR's final scheme, are attached.

Peter asks that Clank change to emphasize the scheme as well as host.
 
clank-incognito-https.png
25.0 KB View Download
vr-incognito-https.png
18.4 KB View Download
Components: UI>Security>UrlFormatting
Cc: fgor...@chromium.org
CC'ing fgorski@, as we've talked about Clank's URL bar implementation, and I'd like to flag this in the context of future rework.
Cc: tedc...@chromium.org twelling...@chromium.org
Ted, Would that be a good opportunity to move on with my summer project?
Putting in the new rule for URL emphasis would be simple and well testable once decoupled.
I "believe" this is already pretty well isolated from the rest of the omnibox code.

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxUrlEmphasizer.java

and has tests:
https://cs.chromium.org/chromium/src/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxUrlEmphasizerTest.java

We could certainly look at sharing the styling more with desktop though, but a fair amount of this differs due to how Android handles theme colors.  But unifying the style segments across platforms seems like a good thing (even if that means the shared code has some concept of themes).
Components: UI>Browser>Omnibox
Status: Available (was: Untriaged)

Comment 7 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 8 by est...@chromium.org, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment