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

Issue 413003002: Add FontRenderParamsQuery. (Closed)

Created:
6 years, 5 months ago by Daniel Erat
Modified:
6 years, 5 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Add FontRenderParamsQuery. Add a new struct that encapsulates the parameters used to initialize FontRenderParams. Also remove all the existing FontRenderParams functions in favor of a single GetFontRenderParams() function that takes a FontRenderParamsQuery. BUG=395313, 396659 TBR=boliu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285425

Patch Set 1 #

Total comments: 2

Patch Set 2 : minor updates #

Patch Set 3 : as usual, re-upload against correct branch #

Total comments: 40

Patch Set 4 : apply review feedback #

Patch Set 5 : merge #

Patch Set 6 : merge again #

Patch Set 7 : update PlatformFontWin::GetFontRenderParams() to use a static #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -173 lines) Patch
M android_webview/native/aw_settings.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/sandbox_ipc_linux.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M ui/gfx/font_render_params.h View 1 2 3 2 chunks +32 lines, -17 lines 0 comments Download
M ui/gfx/font_render_params.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ui/gfx/font_render_params_android.cc View 1 2 3 2 chunks +9 lines, -18 lines 0 comments Download
M ui/gfx/font_render_params_linux.cc View 5 chunks +19 lines, -48 lines 0 comments Download
M ui/gfx/font_render_params_linux_unittest.cc View 7 chunks +33 lines, -38 lines 0 comments Download
M ui/gfx/font_render_params_win.cc View 1 2 3 1 chunk +5 lines, -16 lines 0 comments Download
M ui/gfx/platform_font_pango.cc View 1 2 3 2 chunks +26 lines, -31 lines 0 comments Download
M ui/gfx/platform_font_win.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Daniel Erat
i still need to test this on non-linux platforms, but i figured i'd check how ...
6 years, 5 months ago (2014-07-23 20:40:35 UTC) #1
Daniel Erat
(sorry, please disregard duplicate comments i forgot to delete from patch set 1. i still ...
6 years, 5 months ago (2014-07-23 20:42:45 UTC) #2
msw
https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc File android_webview/native/aw_settings.cc (right): https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc#newcode38 android_webview/native/aw_settings.cc:38: CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, params, On 2014/07/23 20:40:34, Daniel Erat wrote: ...
6 years, 5 months ago (2014-07-23 22:16:35 UTC) #3
Daniel Erat
+jochen for tiny chrome/ and content/ changes https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc File android_webview/native/aw_settings.cc (right): https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc#newcode38 android_webview/native/aw_settings.cc:38: CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, ...
6 years, 5 months ago (2014-07-23 22:47:18 UTC) #4
msw
lgtm https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc File android_webview/native/aw_settings.cc (right): https://codereview.chromium.org/413003002/diff/40001/android_webview/native/aw_settings.cc#newcode38 android_webview/native/aw_settings.cc:38: CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, params, On 2014/07/23 22:47:17, Daniel Erat ...
6 years, 5 months ago (2014-07-23 22:54:31 UTC) #5
jochen (gone - plz use gerrit)
lgtm
6 years, 5 months ago (2014-07-24 09:01:46 UTC) #6
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 5 months ago (2014-07-24 19:02:42 UTC) #7
Daniel Erat
TBR boliu@ for tiny android change
6 years, 5 months ago (2014-07-24 19:03:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/413003002/120001
6 years, 5 months ago (2014-07-24 19:04:04 UTC) #9
boliu
On 2014/07/24 19:03:14, Daniel Erat wrote: > TBR boliu@ for tiny android change lgtm
6 years, 5 months ago (2014-07-24 19:04:25 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 22:52:49 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 00:10:41 UTC) #12
Message was sent while issue was closed.
Change committed as 285425

Powered by Google App Engine
This is Rietveld 408576698