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

Issue 23461014: [Android WebView] Set WebView font renderer preferences (Closed)

Created:
7 years, 3 months ago by benm (inactive)
Modified:
7 years, 3 months ago
Reviewers:
joth, boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android WebView] Set WebView font renderer preferences This achieves backwards compat with "Classic" Android WebView which would always set this level of font hinting and enable sub puxel positioning. BUG=281508 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220668

Patch Set 1 #

Total comments: 2

Patch Set 2 : Hook it up #

Patch Set 3 : hunk mismatch? #

Total comments: 5

Patch Set 4 : Also set use_subpoixel_positioning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M android_webview/native/aw_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
benm (inactive)
ptal!
7 years, 3 months ago (2013-08-29 16:27:15 UTC) #1
boliu
https://codereview.chromium.org/23461014/diff/1/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/1/android_webview/native/aw_contents.cc#newcode214 android_webview/native/aw_contents.cc:214: void AwContents::SetAndroidWebViewRendererPrefs() { What calls this and when is ...
7 years, 3 months ago (2013-08-29 16:29:59 UTC) #2
benm (inactive)
https://codereview.chromium.org/23461014/diff/1/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/1/android_webview/native/aw_contents.cc#newcode214 android_webview/native/aw_contents.cc:214: void AwContents::SetAndroidWebViewRendererPrefs() { Oops, cherry pick fail! please see ...
7 years, 3 months ago (2013-08-29 16:31:50 UTC) #3
benm (inactive)
please take another look :)
7 years, 3 months ago (2013-08-29 16:36:34 UTC) #4
boliu
lgtm https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 android_webview/native/aw_contents.cc:222: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); Hmm, I think we do have a ...
7 years, 3 months ago (2013-08-29 16:48:31 UTC) #5
benm (inactive)
thanks bo! https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 android_webview/native/aw_contents.cc:222: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); Yes, that's correct AFAIU. This doesn't ...
7 years, 3 months ago (2013-08-29 16:53:36 UTC) #6
joth
https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 android_webview/native/aw_contents.cc:222: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); On 2013/08/29 16:53:36, benm wrote: > Yes, that's ...
7 years, 3 months ago (2013-08-29 18:19:40 UTC) #7
boliu
https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 android_webview/native/aw_contents.cc:222: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); On 2013/08/29 18:19:40, joth wrote: > Sounds like ...
7 years, 3 months ago (2013-08-29 18:26:07 UTC) #8
benm (inactive)
https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 android_webview/native/aw_contents.cc:222: web_contents_->GetRenderViewHost()->SyncRendererPrefs(); We could move to AWRHExt::OnRVCreated, - this is ...
7 years, 3 months ago (2013-08-30 13:47:43 UTC) #9
boliu
On 2013/08/30 13:47:43, benm wrote: > https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc > File android_webview/native/aw_contents.cc (right): > > https://codereview.chromium.org/23461014/diff/11001/android_webview/native/aw_contents.cc#newcode222 > ...
7 years, 3 months ago (2013-08-30 15:49:11 UTC) #10
joth
lgtm when we have our own //a_w layer state we need to be careful to ...
7 years, 3 months ago (2013-08-30 19:07:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/23461014/22001
7 years, 3 months ago (2013-08-30 19:53:54 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 21:50:23 UTC) #13
Message was sent while issue was closed.
Change committed as 220668

Powered by Google App Engine
This is Rietveld 408576698