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

Issue 22909031: [Android WebView] Parametrize targetDensityDpi support (Closed)

Created:
7 years, 4 months ago by mnaganov (inactive)
Modified:
7 years, 3 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

[Android WebView] Parametrize targetDensityDpi support It is now possible to control targetDensityDpi and other quirks support when constructing AwContents BUG=277157 R=benm@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219274

Patch Set 1 #

Patch Set 2 : As per Ben's offline comment, pass the flag from above #

Total comments: 7

Patch Set 3 : Set quirks mode by default to false, init in tests to true #

Patch Set 4 : Added a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwSettings.java View 1 3 chunks +5 lines, -2 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
mnaganov (inactive)
This is how targetSdkVersion check can be done for controlling bugwards compatibility of WebView apps.
7 years, 4 months ago (2013-08-22 13:47:27 UTC) #1
benm (inactive)
https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode456 android_webview/java/src/org/chromium/android_webview/AwContents.java:456: isAccessFromFileURLsGrantedByDefault, layoutSizer, true); I think the param should be ...
7 years, 4 months ago (2013-08-22 15:10:08 UTC) #2
mnaganov (inactive)
https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode456 android_webview/java/src/org/chromium/android_webview/AwContents.java:456: isAccessFromFileURLsGrantedByDefault, layoutSizer, true); On 2013/08/22 15:10:08, benm wrote: > ...
7 years, 4 months ago (2013-08-22 15:12:43 UTC) #3
mkosiba (inactive)
https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode484 android_webview/java/src/org/chromium/android_webview/AwContents.java:484: boolean supportsLegacyQuirks) { instead of a boolean how about ...
7 years, 4 months ago (2013-08-22 15:15:40 UTC) #4
benm (inactive)
https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode456 android_webview/java/src/org/chromium/android_webview/AwContents.java:456: isAccessFromFileURLsGrantedByDefault, layoutSizer, true); And the problem is that we'll ...
7 years, 4 months ago (2013-08-22 15:16:22 UTC) #5
mnaganov (inactive)
https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode456 android_webview/java/src/org/chromium/android_webview/AwContents.java:456: isAccessFromFileURLsGrantedByDefault, layoutSizer, true); On 2013/08/22 15:16:23, benm wrote: > ...
7 years, 4 months ago (2013-08-22 15:36:20 UTC) #6
mkosiba (inactive)
On 2013/08/22 15:36:20, Mikhail Naganov (Chromium) wrote: > https://codereview.chromium.org/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java > File android_webview/java/src/org/chromium/android_webview/AwContents.java > (right): > ...
7 years, 4 months ago (2013-08-22 15:54:17 UTC) #7
benm (inactive)
On 2013/08/22 15:54:17, mkosiba wrote: > On 2013/08/22 15:36:20, Mikhail Naganov (Chromium) wrote: > > ...
7 years, 4 months ago (2013-08-22 16:47:19 UTC) #8
mnaganov (inactive)
Ben, PTAL. I did what you have suggested. There is one more AwContents construction in ...
7 years, 4 months ago (2013-08-23 09:39:42 UTC) #9
benm (inactive)
LGTM Thanks Mikhail! Only suggestion would be to file a bug (and add it in ...
7 years, 4 months ago (2013-08-23 09:58:17 UTC) #10
mnaganov (inactive)
Thanks, Ben! Added a meta bug (http://crbug.com/278106) and a comment
7 years, 4 months ago (2013-08-23 10:16:54 UTC) #11
benm (inactive)
lgtm
7 years, 4 months ago (2013-08-23 10:32:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/22909031/5003
7 years, 4 months ago (2013-08-23 11:19:29 UTC) #13
mkosiba (inactive)
https://chromiumcodereview.appspot.com/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://chromiumcodereview.appspot.com/22909031/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode484 android_webview/java/src/org/chromium/android_webview/AwContents.java:484: boolean supportsLegacyQuirks) { On 2013/08/22 15:36:20, Mikhail Naganov (Chromium) ...
7 years, 4 months ago (2013-08-23 13:24:36 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=161916
7 years, 4 months ago (2013-08-23 13:32:42 UTC) #15
mnaganov (inactive)
7 years, 4 months ago (2013-08-23 13:43:59 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 manually as r219274 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698