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

Issue 3042014: Conditionally draw a bezel below text fields, used for the omnibox.... (Closed)

Created:
10 years, 5 months ago by pink (ping after 24hrs)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Conditionally draw a bezel below text fields, used for the omnibox. BUG=49793 TEST=visual inspection. unit tests shouldn't leak or crash on drawing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53224

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -5 lines) Patch
M chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/styled_text_field_cell.h View 1 3 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/styled_text_field_cell.mm View 1 2 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
pink (ping after 24hrs)
10 years, 5 months ago (2010-07-21 17:16:55 UTC) #1
Scott Hess - ex-Googler
is the bezel already on the other items on the trunk, or is that pending? ...
10 years, 5 months ago (2010-07-21 17:40:47 UTC) #2
pink (ping after 24hrs)
comments addressed. http://codereview.chromium.org/3042014/diff/1/3 File chrome/browser/cocoa/styled_text_field_cell.h (right): http://codereview.chromium.org/3042014/diff/1/3#newcode42 chrome/browser/cocoa/styled_text_field_cell.h:42: - (BOOL)shouldDrawBezel; On 2010/07/21 17:40:48, shess wrote: ...
10 years, 5 months ago (2010-07-21 18:03:01 UTC) #3
Scott Hess - ex-Googler
LGTM, except using NSFrameRect() to fill a rect. Do not like. http://codereview.chromium.org/3042014/diff/4001/5003 File chrome/browser/cocoa/styled_text_field_cell.mm (right): ...
10 years, 5 months ago (2010-07-21 18:09:01 UTC) #4
pink (ping after 24hrs)
10 years, 5 months ago (2010-07-21 18:27:59 UTC) #5
On Wed, Jul 21, 2010 at 2:09 PM,  <shess@chromium.org> wrote:
> LGTM, except using NSFrameRect() to fill a rect.  Do not like.

Fixed, changed to NSRectFill().

-- 
Mike Pinkerton
Mac Weenie
pinkerton@google.com

Powered by Google App Engine
This is Rietveld 408576698