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

Issue 15553008: Instant Extended: Reduce clipping in omnibox (Closed)

Created:
7 years, 7 months ago by sail
Modified:
7 years, 7 months ago
CC:
chromium-reviews, James Su, sail+watch_chromium.org
Visibility:
Public.

Description

Instant Extended: Reduce clipping in omnibox The larger omnibox font sometimes causes clipping. This CL increases the line height by 1 pixel to reduce clipping. Screenshots: - before: http://i.imgur.com/waS4sIq.png - after: http://i.imgur.com/polxbYZ.png BUG=237909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202186

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -26 lines) Patch
M chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm View 1 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 2 4 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/styled_text_field_cell.h View 1 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/styled_text_field_cell.mm View 1 2 3 2 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
sail
7 years, 7 months ago (2013-05-22 18:18:00 UTC) #1
Scott Hess - ex-Googler
I would prefer you figure out how the Cocoa drawing model works, here, rather than ...
7 years, 7 months ago (2013-05-22 19:56:37 UTC) #2
sail
There are two things that cause clipping: #1 - The small drawing rect we use. ...
7 years, 7 months ago (2013-05-22 20:23:55 UTC) #3
Scott Hess - ex-Googler
It seems like we probably want to have tweaks for: - how many pixels from ...
7 years, 7 months ago (2013-05-22 21:02:36 UTC) #4
sail
It's not clear from your comments what you'd like me to do next. I can ...
7 years, 7 months ago (2013-05-22 21:10:35 UTC) #5
Scott Hess - ex-Googler
On 2013/05/22 21:10:35, sail wrote: > It's not clear from your comments what you'd like ...
7 years, 7 months ago (2013-05-22 21:21:05 UTC) #6
sail
> Regular OSX text fields manage to size themselves to fit ascenders and > descenders ...
7 years, 7 months ago (2013-05-22 21:23:21 UTC) #7
sail
Replaced -baselineAdjust with -topTextFrameOffset and -bottomTextFrameOffset. Please take another look.
7 years, 7 months ago (2013-05-22 21:53:49 UTC) #8
Scott Hess - ex-Googler
Bear with me on this. When we're in there faking out Cocoa like this code ...
7 years, 7 months ago (2013-05-22 23:39:39 UTC) #9
sail
https://codereview.chromium.org/15553008/diff/11001/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm File chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (right): https://codereview.chromium.org/15553008/diff/11001/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm#newcode162 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm:162: line_height_ += 1; On 2013/05/22 23:39:39, shess wrote: > ...
7 years, 7 months ago (2013-05-23 19:46:32 UTC) #10
Scott Hess - ex-Googler
Have I mentioned that the OSX text subsystem is awesome? https://chromiumcodereview.appspot.com/15553008/diff/17001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h (right): https://chromiumcodereview.appspot.com/15553008/diff/17001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h#newcode31 ...
7 years, 7 months ago (2013-05-23 20:08:02 UTC) #11
sail
Addressed review comments. I also verified that with my change non-instant extended UI is exactly ...
7 years, 7 months ago (2013-05-23 20:45:44 UTC) #12
Scott Hess - ex-Googler
lgtm.
7 years, 7 months ago (2013-05-24 17:03:31 UTC) #13
sail
On 2013/05/24 17:03:31, shess wrote: > lgtm. Yay. I knew I could wear down your ...
7 years, 7 months ago (2013-05-24 17:06:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/15553008/26001
7 years, 7 months ago (2013-05-24 17:06:34 UTC) #15
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 21:52:49 UTC) #16
Message was sent while issue was closed.
Change committed as 202186

Powered by Google App Engine
This is Rietveld 408576698