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

Issue 1682103004: Add FontCache::acceptLanguagesChanged() (Closed)

Created:
4 years, 10 months ago by kojii
Modified:
4 years, 10 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add FontCache::acceptLanguagesChanged() In preparaiton of using Accept-Language user preference for the font fallback to resolve ambiguities, this patch adds FontCache::acceptLanguagesChanged(). RenderViewImpl::OnSetRendererPrefs() calls WebView::acceptLanguagesChanged(), which covers both the initialization and when the setting was changed. The optimal way to handle it varies by platform. This patch adds empty bodies to all platforms, which will be filled in future. Minor left over in FontFallbackWin.h in the last CL is also removed. BUG=411407 Committed: https://crrev.com/0289cad37b121f25b7d59566912a5270ade01c96 Cr-Commit-Position: refs/heads/master@{#375134}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : Minor editorials #

Patch Set 5 : self reviw, minor change #

Patch Set 6 : Split Windows logic to a separate CL #

Total comments: 2

Patch Set 7 : tkent review #

Messages

Total messages: 18 (6 generated)
kojii
drott@, PTAL for platform/fonts. I'll then ask other reviewer for web.
4 years, 10 months ago (2016-02-11 18:26:26 UTC) #3
kojii
tkent@, PTAL. If you can review both web and platform, that's superb. Otherwise I'll ask ...
4 years, 10 months ago (2016-02-12 03:46:27 UTC) #6
kojii
Forgot to note that android bot is claiming that "Source/platform/fonts" directory is missing. Hopefully bots ...
4 years, 10 months ago (2016-02-12 03:47:36 UTC) #7
tkent
https://codereview.chromium.org/1682103004/diff/100001/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp File third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp (right): https://codereview.chromium.org/1682103004/diff/100001/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp#newcode60 third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp:60: void FontCache::acceptLanguagesChanged(const String&) Style nit: This should be void ...
4 years, 10 months ago (2016-02-12 04:01:20 UTC) #8
kojii
PTAL. https://codereview.chromium.org/1682103004/diff/100001/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp File third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp (right): https://codereview.chromium.org/1682103004/diff/100001/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp#newcode60 third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp:60: void FontCache::acceptLanguagesChanged(const String&) On 2016/02/12 at 04:01:19, tkent ...
4 years, 10 months ago (2016-02-12 04:33:47 UTC) #9
tkent
lgtm
4 years, 10 months ago (2016-02-12 04:37:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682103004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682103004/120001
4 years, 10 months ago (2016-02-12 04:38:00 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-12 06:00:56 UTC) #13
drott
> The optimal way to handle it varies by platform. This patch adds empty > ...
4 years, 10 months ago (2016-02-12 11:28:11 UTC) #14
kojii
On 2016/02/12 at 11:28:11, drott wrote: > > The optimal way to handle it varies ...
4 years, 10 months ago (2016-02-12 11:54:37 UTC) #15
kojii
One more difference; we hear complaints only from Win, Linux, and Android. No complaints for ...
4 years, 10 months ago (2016-02-12 12:25:53 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:41:59 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0289cad37b121f25b7d59566912a5270ade01c96
Cr-Commit-Position: refs/heads/master@{#375134}

Powered by Google App Engine
This is Rietveld 408576698