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

Issue 155816: [Mac] Prevent the field from updating the font panel and any ruler state. (Closed)

Created:
11 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
Reviewers:
John Grabowski
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Prevent the field from updating the font panel and any ruler state.

Patch Set 1 #

Patch Set 2 : Update comments around -setUsesFontPanel: research. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M chrome/browser/cocoa/autocomplete_text_field_editor.mm View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Scott Hess - ex-Googler
The other day nirnamesh sent me a valgrind report (*) which was deep in some ...
11 years, 5 months ago (2009-07-20 23:07:33 UTC) #1
John Grabowski
LGTM Might be good to know why setUsesFontPanel: gets unset, but this change seems fine ...
11 years, 5 months ago (2009-07-20 23:45:15 UTC) #2
Scott Hess - ex-Googler
11 years, 5 months ago (2009-07-21 17:40:31 UTC) #3
On 2009/07/20 23:45:15, John Grabowski wrote:
> LGTM
> 
> Might be good to know why setUsesFontPanel: gets unset, but this change seems
> fine independent of that.

I dropped in an intercept for -setUsesFontPanel:, and it gets called ALL THE
TIME with YES.  The calls we're doing which lead to it are such obvious things
as NSTextField -stringValue.  Neat!

I'll upgrade the comment to describe this a bit.

Powered by Google App Engine
This is Rietveld 408576698