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

Issue 986953002: Move implementation of load methods to chromium layer (Closed)

Created:
5 years, 9 months ago by boliu
Modified:
5 years, 9 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move implementation of load methods to chromium layer Add methods in AwContents that mirrors WebView exactly. And have WebViewChromium call through to AwContents directly. Unfortunately the code to post to UI thread now needs to be duplicated in WebViewChromium for each method. BUG=464491 Committed: https://crrev.com/2ff81b49f2a9b7b029b56ab9f13b9aa823c87bf0 Cr-Commit-Position: refs/heads/master@{#319734}

Patch Set 1 #

Patch Set 2 : remove more #

Total comments: 9

Patch Set 3 : return #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -106 lines) Patch
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 4 chunks +56 lines, -101 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 5 chunks +110 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
boliu
ptal. Sunday evening clean up :) I'll try cts tests tomorrow. https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java (left): ...
5 years, 9 months ago (2015-03-09 03:33:56 UTC) #2
mnaganov (inactive)
https://codereview.chromium.org/986953002/diff/20001/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/986953002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1187 android_webview/java/src/org/chromium/android_webview/AwContents.java:1187: evaluateJavaScript(url.substring(javaScriptScheme.length()), null); Missing return statement?
5 years, 9 months ago (2015-03-09 09:37:40 UTC) #3
Torne
https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java (left): https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java#oldcode543 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java:543: if (url == null) { On 2015/03/09 03:33:56, boliu ...
5 years, 9 months ago (2015-03-09 10:57:39 UTC) #5
boliu
https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java (left): https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java#oldcode543 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java:543: if (url == null) { On 2015/03/09 10:57:39, Torne ...
5 years, 9 months ago (2015-03-09 14:35:43 UTC) #6
Torne
On 2015/03/09 14:35:43, boliu wrote: > https://codereview.chromium.org/986953002/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java > File > android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java > (left): > > ...
5 years, 9 months ago (2015-03-09 15:05:22 UTC) #7
mnaganov (inactive)
https://codereview.chromium.org/986953002/diff/20001/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/986953002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1187 android_webview/java/src/org/chromium/android_webview/AwContents.java:1187: evaluateJavaScript(url.substring(javaScriptScheme.length()), null); On 2015/03/09 14:35:43, boliu wrote: > On ...
5 years, 9 months ago (2015-03-09 15:07:18 UTC) #8
boliu
https://codereview.chromium.org/986953002/diff/20001/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/986953002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1187 android_webview/java/src/org/chromium/android_webview/AwContents.java:1187: evaluateJavaScript(url.substring(javaScriptScheme.length()), null); On 2015/03/09 15:07:18, mnaganov (cr) wrote: > ...
5 years, 9 months ago (2015-03-09 16:23:11 UTC) #9
mnaganov (inactive)
lgtm
5 years, 9 months ago (2015-03-09 16:34:44 UTC) #10
boliu
cts WebViewTest, WebViewClientTest, WebChromeClientTest still pass
5 years, 9 months ago (2015-03-09 20:27:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986953002/40001
5 years, 9 months ago (2015-03-09 20:28:10 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-09 21:14:53 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 21:16:21 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2ff81b49f2a9b7b029b56ab9f13b9aa823c87bf0
Cr-Commit-Position: refs/heads/master@{#319734}

Powered by Google App Engine
This is Rietveld 408576698