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

Issue 10544103: Chromium change of sharing some WebKit API between Android/Linux. (Closed)

Created:
8 years, 6 months ago by Xianzhu
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch-content_chromium.org, Daniel Erat
Visibility:
Public.

Description

Chromium change of sharing some WebKit API between Android/Linux. Previously the Android-specific font rendering configurations are hardcoded in WebCore. Now change to use WebKit API. Also passes autohinting and use_bitmaps parameters to WebKit. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145773

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Updates according to landing WebKit patch #

Patch Set 4 : update #

Total comments: 5

Patch Set 5 : rebased #

Total comments: 7

Patch Set 6 : use_autohinting #

Patch Set 7 : autohinter=false for GTK #

Total comments: 2

Patch Set 8 : Update view_messages.h #

Patch Set 9 : Change back autohinter=true on GTK and add TODO #

Patch Set 10 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -9 lines) Patch
M chrome/browser/renderer_preferences_util.cc View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M content/public/common/renderer_preferences.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
D content/renderer/render_view_linux.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -3 lines 0 comments Download
A ui/gfx/font_render_params_android.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M ui/gfx/font_render_params_linux.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/font_render_params_linux.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
Xianzhu
Incomplete yet. Just for creating a CL number to be referenced in the WebKit CL.
8 years, 6 months ago (2012-06-11 21:56:48 UTC) #1
Xianzhu
8 years, 6 months ago (2012-06-14 23:26:27 UTC) #2
Xianzhu
On 2012/06/14 23:26:27, Xianzhu wrote: Now it's complete, but only buildable after the patch in ...
8 years, 6 months ago (2012-06-14 23:27:38 UTC) #3
jamesr
I am not a fan of "linuxish" http://codereview.chromium.org/10544103/diff/7001/content/content_renderer.gypi File content/content_renderer.gypi (right): http://codereview.chromium.org/10544103/diff/7001/content/content_renderer.gypi#newcode180 content/content_renderer.gypi:180: 'renderer/render_view_linuxish.cc', what ...
8 years, 6 months ago (2012-06-14 23:33:38 UTC) #4
Daniel Erat
http://codereview.chromium.org/10544103/diff/7001/chrome/browser/renderer_preferences_util.cc File chrome/browser/renderer_preferences_util.cc (right): http://codereview.chromium.org/10544103/diff/7001/chrome/browser/renderer_preferences_util.cc#newcode53 chrome/browser/renderer_preferences_util.cc:53: #elif defined(OS_ANDROID) You need to sync and merge this ...
8 years, 6 months ago (2012-06-14 23:44:20 UTC) #5
Xianzhu
On 2012/06/14 23:33:38, jamesr wrote: > I am not a fan of "linuxish" > > ...
8 years, 6 months ago (2012-06-14 23:47:06 UTC) #6
jamesr
That's terrible. Why not posix and !mac?
8 years, 6 months ago (2012-06-14 23:48:03 UTC) #7
Xianzhu
http://codereview.chromium.org/10544103/diff/7001/chrome/browser/renderer_preferences_util.cc File chrome/browser/renderer_preferences_util.cc (right): http://codereview.chromium.org/10544103/diff/7001/chrome/browser/renderer_preferences_util.cc#newcode53 chrome/browser/renderer_preferences_util.cc:53: #elif defined(OS_ANDROID) On 2012/06/14 23:44:20, Daniel Erat wrote: > ...
8 years, 6 months ago (2012-06-15 00:05:00 UTC) #8
Xianzhu
On 2012/06/14 23:48:03, jamesr wrote: > That's terrible. Why not posix and !mac? The 'linuxish' ...
8 years, 6 months ago (2012-06-15 00:14:36 UTC) #9
jamesr
On 2012/06/15 00:14:36, Xianzhu wrote: > On 2012/06/14 23:48:03, jamesr wrote: > > That's terrible. ...
8 years, 6 months ago (2012-06-15 01:25:36 UTC) #10
jam
On 2012/06/15 01:25:36, jamesr wrote: > On 2012/06/15 00:14:36, Xianzhu wrote: > > On 2012/06/14 ...
8 years, 6 months ago (2012-06-15 15:14:11 UTC) #11
Xianzhu
Hi, reviewers, The 'linuxish' things have been removed in the newest patch set. 'target_conditions' is ...
8 years, 6 months ago (2012-06-24 05:15:31 UTC) #12
Daniel Erat
http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h#newcode56 content/public/common/renderer_preferences.h:56: bool autohinter; nit: mind renaming this to "use_autohinter" to ...
8 years, 6 months ago (2012-06-24 14:51:25 UTC) #13
Xianzhu
http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h#newcode56 content/public/common/renderer_preferences.h:56: bool autohinter; On 2012/06/24 14:51:25, Daniel Erat wrote: > ...
8 years, 6 months ago (2012-06-26 12:46:44 UTC) #14
Daniel Erat
http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h#newcode56 content/public/common/renderer_preferences.h:56: bool autohinter; On 2012/06/26 12:46:45, Xianzhu wrote: > On ...
8 years, 6 months ago (2012-06-26 14:13:29 UTC) #15
Xianzhu
http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/14001/content/public/common/renderer_preferences.h#newcode56 content/public/common/renderer_preferences.h:56: bool autohinter; On 2012/06/26 14:13:29, Daniel Erat wrote: > ...
8 years, 6 months ago (2012-06-26 14:16:22 UTC) #16
Daniel Erat
http://codereview.chromium.org/10544103/diff/14001/ui/gfx/font_render_params_linux.cc File ui/gfx/font_render_params_linux.cc (right): http://codereview.chromium.org/10544103/diff/14001/ui/gfx/font_render_params_linux.cc#newcode26 ui/gfx/font_render_params_linux.cc:26: params->autohinter = true; On 2012/06/26 12:46:45, Xianzhu wrote: > ...
8 years, 6 months ago (2012-06-26 14:17:12 UTC) #17
Xianzhu
On 2012/06/26 14:17:12, Daniel Erat wrote: > http://codereview.chromium.org/10544103/diff/14001/ui/gfx/font_render_params_linux.cc > File ui/gfx/font_render_params_linux.cc (right): > > http://codereview.chromium.org/10544103/diff/14001/ui/gfx/font_render_params_linux.cc#newcode26 ...
8 years, 6 months ago (2012-06-26 14:27:59 UTC) #18
Xianzhu
On 2012/06/26 14:27:59, Xianzhu wrote: > On 2012/06/26 14:17:12, Daniel Erat wrote: > > > ...
8 years, 6 months ago (2012-06-26 14:37:27 UTC) #19
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10544103/diff/15012/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/15012/content/public/common/renderer_preferences.h#newcode60 content/public/common/renderer_preferences.h:60: bool use_bitmaps; you will need to add this to ...
8 years, 6 months ago (2012-06-26 18:08:31 UTC) #20
Xianzhu
http://codereview.chromium.org/10544103/diff/15012/content/public/common/renderer_preferences.h File content/public/common/renderer_preferences.h (right): http://codereview.chromium.org/10544103/diff/15012/content/public/common/renderer_preferences.h#newcode60 content/public/common/renderer_preferences.h:60: bool use_bitmaps; On 2012/06/26 18:08:31, jochen wrote: > you ...
8 years, 6 months ago (2012-06-27 01:38:51 UTC) #21
Xianzhu
On 2012/06/26 14:37:27, Xianzhu wrote: > On 2012/06/26 14:27:59, Xianzhu wrote: > > On 2012/06/26 ...
8 years, 5 months ago (2012-06-27 23:02:26 UTC) #22
Daniel Erat
On Wed, Jun 27, 2012 at 4:02 PM, <wangxianzhu@chromium.org> wrote: > On 2012/06/26 14:37:27, Xianzhu ...
8 years, 5 months ago (2012-06-27 23:24:34 UTC) #23
Xianzhu
On 2012/06/27 23:24:34, Daniel Erat wrote: > This is the setting used for web fonts, ...
8 years, 5 months ago (2012-06-28 00:02:27 UTC) #24
Xianzhu
On 2012/06/28 00:02:27, Xianzhu wrote: > On 2012/06/27 23:24:34, Daniel Erat wrote: > > > ...
8 years, 5 months ago (2012-06-28 00:46:25 UTC) #25
Daniel Erat
lgtm
8 years, 5 months ago (2012-06-28 01:13:51 UTC) #26
Xianzhu
On 2012/06/28 01:13:51, Daniel Erat wrote: > lgtm Thanks. It still needs approval from owners ...
8 years, 5 months ago (2012-06-29 07:36:13 UTC) #27
Ben Goodger (Google)
ui lgtm
8 years, 5 months ago (2012-06-29 16:07:36 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/10544103/37001
8 years, 5 months ago (2012-07-09 17:26:00 UTC) #29
commit-bot: I haz the power
Presubmit check for 10544103-37001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-09 17:26:07 UTC) #30
Xianzhu
Hi, any owner of content/ can review this CL? Thanks!
8 years, 5 months ago (2012-07-09 17:40:31 UTC) #31
abarth-chromium
On 2012/07/09 17:40:31, Xianzhu wrote: > Hi, any owner of content/ can review this CL? ...
8 years, 5 months ago (2012-07-09 17:45:43 UTC) #32
jam
content lgtm
8 years, 5 months ago (2012-07-09 18:08:21 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/10544103/48001
8 years, 5 months ago (2012-07-09 21:48:15 UTC) #34
commit-bot: I haz the power
8 years, 5 months ago (2012-07-09 23:04:49 UTC) #35
Change committed as 145773

Powered by Google App Engine
This is Rietveld 408576698