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

Issue 9370026: Respect the system ClearType setting in RenderTextWin. (Closed)

Created:
8 years, 10 months ago by Alexei Svitkine (slow)
Modified:
8 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Respect the system ClearType setting in RenderTextWin. BUG=113184, 105550 TEST=Build Chrome Windows with gyp flag use_canvas_skia_skia=1. Open Chrome and observe text rendering in the tab strip, bookmarks bar, etc. Change Windows ClearType settings while Chrome is running. Text rendering should be updated appropriately. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122514

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 28

Patch Set 5 : '' #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -0 lines) Patch
A ui/base/win/singleton_hwnd.h View 1 2 3 4 5 6 1 chunk +59 lines, -0 lines 0 comments Download
A ui/base/win/singleton_hwnd.cc View 1 2 3 4 5 6 7 1 chunk +81 lines, -0 lines 0 comments Download
A ui/gfx/font_smoothing_win.h View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A ui/gfx/font_smoothing_win.cc View 1 2 3 4 5 6 7 1 chunk +121 lines, -0 lines 0 comments Download
M ui/gfx/render_text.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/render_text_win.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Alexei Svitkine (slow)
Note: This depends on http://codereview.chromium.org/9359019/ and also is missing the ui.gypi changes to add the ...
8 years, 10 months ago (2012-02-09 17:44:21 UTC) #1
sky
Don't you need to update some gyp files?
8 years, 10 months ago (2012-02-09 19:33:01 UTC) #2
Alexei Svitkine (slow)
On 2012/02/09 19:33:01, sky wrote: > Don't you need to update some gyp files? I've ...
8 years, 10 months ago (2012-02-13 23:15:06 UTC) #3
Alexei Svitkine (slow)
+cpu
8 years, 10 months ago (2012-02-13 23:15:45 UTC) #4
tfarina
http://codereview.chromium.org/9370026/diff/4001/ui/base/win/singleton_hwnd.h File ui/base/win/singleton_hwnd.h (right): http://codereview.chromium.org/9370026/diff/4001/ui/base/win/singleton_hwnd.h#newcode14 ui/base/win/singleton_hwnd.h:14: #include "base/memory/singleton.h" nit: we usually forward declare this. template ...
8 years, 10 months ago (2012-02-13 23:19:48 UTC) #5
Alexei Svitkine (slow)
http://codereview.chromium.org/9370026/diff/4001/ui/base/win/singleton_hwnd.h File ui/base/win/singleton_hwnd.h (right): http://codereview.chromium.org/9370026/diff/4001/ui/base/win/singleton_hwnd.h#newcode14 ui/base/win/singleton_hwnd.h:14: #include "base/memory/singleton.h" On 2012/02/13 23:19:48, tfarina wrote: > nit: ...
8 years, 10 months ago (2012-02-14 15:27:05 UTC) #6
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.cc File ui/base/win/singleton_hwnd.cc (right): http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.cc#newcode41 ui/base/win/singleton_hwnd.cc:41: HWND_MESSAGE, 0, hinst, 0); same comment: I don't think ...
8 years, 10 months ago (2012-02-14 20:53:30 UTC) #7
asvitkine_google
On 2012/02/14 20:53:30, cpu wrote: > http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.cc > File ui/base/win/singleton_hwnd.cc (right): > > http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.cc#newcode41 > ...
8 years, 10 months ago (2012-02-14 20:58:00 UTC) #8
msw
http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h File ui/base/win/singleton_hwnd.h (right): http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h#newcode22 ui/base/win/singleton_hwnd.h:22: // notifications. Note that not all WM_* messages are ...
8 years, 10 months ago (2012-02-15 00:33:16 UTC) #9
asvitkine_google
http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h File ui/base/win/singleton_hwnd.h (right): http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h#newcode22 ui/base/win/singleton_hwnd.h:22: // notifications. On 2012/02/15 00:33:16, msw wrote: > Note ...
8 years, 10 months ago (2012-02-15 15:10:44 UTC) #10
msw
http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h File ui/base/win/singleton_hwnd.h (right): http://codereview.chromium.org/9370026/diff/11001/ui/base/win/singleton_hwnd.h#newcode23 ui/base/win/singleton_hwnd.h:23: class SingletonHwnd { On 2012/02/15 15:10:44, asvitkine wrote: > ...
8 years, 10 months ago (2012-02-15 19:23:28 UTC) #11
Alexei Svitkine (slow)
On Wed, Feb 15, 2012 at 3:47 PM, Alexei Svitkine <asvitkine@chromium.org> wrote: >> I have ...
8 years, 10 months ago (2012-02-15 21:35:46 UTC) #12
msw
> > It seems I can't trigger WM_SETTINGCHANGE to be sent by toggling > > ...
8 years, 10 months ago (2012-02-15 22:32:44 UTC) #13
Alexei Svitkine (slow)
On Wed, Feb 15, 2012 at 4:35 PM, Alexei Svitkine <asvitkine@chromium.org>wrote: > On Wed, Feb ...
8 years, 10 months ago (2012-02-15 23:05:26 UTC) #14
Alexei Svitkine (slow)
I've updated the CL to use MessagePumpObserver and to invalidate the cached settings on WM_PAINT ...
8 years, 10 months ago (2012-02-16 16:31:40 UTC) #15
msw
What's the point of caching the values if they're invalidated on every paint? It seems ...
8 years, 10 months ago (2012-02-16 18:09:37 UTC) #16
asvitkine_google
On 2012/02/16 18:09:37, msw wrote: > What's the point of caching the values if they're ...
8 years, 10 months ago (2012-02-16 18:14:09 UTC) #17
Alexei Svitkine (slow)
After more digging with Mike's help, I found my earlier cause of confusion. It turns ...
8 years, 10 months ago (2012-02-16 20:00:05 UTC) #18
msw
I should have mentioned this earlier, but I'm generally dubious that we're gaining much with ...
8 years, 10 months ago (2012-02-16 20:54:53 UTC) #19
asvitkine_google
On 2012/02/16 20:54:53, msw wrote: > I should have mentioned this earlier, but I'm generally ...
8 years, 10 months ago (2012-02-16 21:15:05 UTC) #20
msw
Okay, thanks for the explanation. LGTM with my two comments. http://codereview.chromium.org/9370026/diff/30004/ui/gfx/font_smoothing_win.cc File ui/gfx/font_smoothing_win.cc (right): http://codereview.chromium.org/9370026/diff/30004/ui/gfx/font_smoothing_win.cc#newcode84 ...
8 years, 10 months ago (2012-02-16 22:31:23 UTC) #21
sky
Rubber stamp LGTM
8 years, 10 months ago (2012-02-16 22:49:57 UTC) #22
asvitkine_google
> http://codereview.chromium.org/9370026/diff/30004/ui/gfx/font_smoothing_win.cc#newcode84 > ui/gfx/font_smoothing_win.cc:84: > CachedFontSmoothingSettings::~CachedFontSmoothingSettings() { > Should this remove itself from the SingletonHwnd ...
8 years, 10 months ago (2012-02-16 22:57:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/9370026/30009
8 years, 10 months ago (2012-02-17 14:39:15 UTC) #24
commit-bot: I haz the power
8 years, 10 months ago (2012-02-17 15:53:04 UTC) #25
Change committed as 122514

Powered by Google App Engine
This is Rietveld 408576698