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

Issue 1938243002: [Mac][Material Design] Correct location bar editing text colors. (Closed)

Created:
4 years, 7 months ago by shrike
Modified:
4 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac][Material Design] Correct location bar editing text colors. Currently the Omnibox formats the location bar's text using its normal formatting rules, which means that if you type a URL the URL will be white, but if what you're typing doesn't look like a URL it will be black (which is probably the Omnibox defaulting to not knowing what to do color-wise). This cl forces the location bar's text to be white or black while editing in normal or Incognito mode, respectively, per the Material Design spec. This cl also cleans up some style mistakes I made in an earlier cl. R=tapted@chromium.org BUG=608437 Committed: https://crrev.com/c850fd0f9bd765aa5cd9fffd286cdb9f0cd9d2b4 Cr-Commit-Position: refs/heads/master@{#391263}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check for empty string at the start. #

Patch Set 3 : Rebase from ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
shrike
PTAL
4 years, 7 months ago (2016-05-02 22:49:58 UTC) #3
tapted
lgtm % nit https://codereview.chromium.org/1938243002/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm File chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (right): https://codereview.chromium.org/1938243002/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm#newcode561 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm:561: if (as_length) { nit: other places ...
4 years, 7 months ago (2016-05-02 23:49:04 UTC) #4
shrike
PTAL https://codereview.chromium.org/1938243002/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm File chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (right): https://codereview.chromium.org/1938243002/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm#newcode561 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm:561: if (as_length) { On 2016/05/02 23:49:03, tapted wrote: ...
4 years, 7 months ago (2016-05-03 00:00:33 UTC) #5
shrike
Actually I realize gave me a lgtm with nits so I will go ahead and ...
4 years, 7 months ago (2016-05-03 00:01:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938243002/20001
4 years, 7 months ago (2016-05-03 00:11:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/28518) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-03 00:14:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938243002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938243002/40001
4 years, 7 months ago (2016-05-03 15:45:04 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 16:34:22 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 16:35:55 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c850fd0f9bd765aa5cd9fffd286cdb9f0cd9d2b4
Cr-Commit-Position: refs/heads/master@{#391263}

Powered by Google App Engine
This is Rietveld 408576698