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

Issue 10825155: Build target for Android WebView. (Closed)

Created:
8 years, 4 months ago by Torne
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, andreip3000, erikwright (departed)
Visibility:
Public.

Description

Build target for Android WebView. This creates a "libwebview" build target for the JNI code to power the Android WebView. This is unfinished and can't run without additional code that has not yet been upstreamed, but it compiles and links successfully. In its present state the WebViewMainDelegate reuses Chrome implementations of other content client interfaces. This is a temporary state of affairs until necessary refactorings can be performed. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150780

Patch Set 1 #

Total comments: 11

Patch Set 2 : Shuffle files about a bit and address comments #

Total comments: 9

Patch Set 3 : joth's comments #

Patch Set 4 : Implement a ContentMainDelegate #

Total comments: 6

Patch Set 5 : Remove chrome/ changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -0 lines) Patch
A android_webview/DEPS View 1 1 chunk +10 lines, -0 lines 0 comments Download
A android_webview/OWNERS View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A android_webview/lib/DEPS View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A android_webview/lib/android_webview.gyp View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A android_webview/lib/main/webview_entry_point.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A android_webview/lib/main/webview_main_delegate.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A android_webview/lib/main/webview_main_delegate.cc View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
A android_webview/lib/main/webview_stubs.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M build/all_android.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Torne
Very first version; it links but I haven't even tried to run it yet. We ...
8 years, 4 months ago (2012-08-02 14:28:04 UTC) #1
Jói
Initial round of comments. Cheers, Jói https://chromiumcodereview.appspot.com/10825155/diff/1/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://chromiumcodereview.appspot.com/10825155/diff/1/android_webview/android_webview.gyp#newcode1 android_webview/android_webview.gyp:1: # Copyright (c) ...
8 years, 4 months ago (2012-08-02 15:19:59 UTC) #2
Torne
New version uploaded. Files have moved around a bit (sorry). https://chromiumcodereview.appspot.com/10825155/diff/1/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://chromiumcodereview.appspot.com/10825155/diff/1/android_webview/android_webview.gyp#newcode1 ...
8 years, 4 months ago (2012-08-03 10:31:35 UTC) #3
Jói
LGTM from my point of view.
8 years, 4 months ago (2012-08-03 11:53:47 UTC) #4
joth
thanks for this. https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS File android_webview/OWNERS (right): https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS#newcode2 android_webview/OWNERS:2: set noparent until we're up and ...
8 years, 4 months ago (2012-08-03 15:20:11 UTC) #5
joth
https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS File android_webview/OWNERS (right): https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS#newcode2 android_webview/OWNERS:2: set noparent On 2012/08/03 15:20:11, joth wrote: > until ...
8 years, 4 months ago (2012-08-03 15:21:39 UTC) #6
Torne
https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS File android_webview/OWNERS (right): https://chromiumcodereview.appspot.com/10825155/diff/6001/android_webview/OWNERS#newcode2 android_webview/OWNERS:2: set noparent On 2012/08/03 15:20:11, joth wrote: > until ...
8 years, 4 months ago (2012-08-06 09:48:46 UTC) #7
erikwright (departed)
LGTM. Didn't review the chrome/ changes as I gather they will appear elsewhere.
8 years, 4 months ago (2012-08-06 15:38:18 UTC) #8
joth
lgtm
8 years, 4 months ago (2012-08-07 08:51:09 UTC) #9
Torne
Hi all, I've implemented a ContentMainDelegate specific to the WebView (which still reuses chrome/ code ...
8 years, 4 months ago (2012-08-07 13:43:32 UTC) #10
Jói
http://codereview.chromium.org/10825155/diff/13001/android_webview/lib/main/webview_stubs.cc File android_webview/lib/main/webview_stubs.cc (right): http://codereview.chromium.org/10825155/diff/13001/android_webview/lib/main/webview_stubs.cc#newcode9 android_webview/lib/main/webview_stubs.cc:9: // They will be removed once real implementations are ...
8 years, 4 months ago (2012-08-07 13:49:46 UTC) #11
Torne
http://codereview.chromium.org/10825155/diff/13001/android_webview/lib/main/webview_stubs.cc File android_webview/lib/main/webview_stubs.cc (right): http://codereview.chromium.org/10825155/diff/13001/android_webview/lib/main/webview_stubs.cc#newcode9 android_webview/lib/main/webview_stubs.cc:9: // They will be removed once real implementations are ...
8 years, 4 months ago (2012-08-07 13:58:09 UTC) #12
Jói
Regarding ChromeContentRendererClient: Even if those two functions need to be disabled for Chrome for Android, ...
8 years, 4 months ago (2012-08-07 14:03:03 UTC) #13
Torne
On 2012/08/07 14:03:03, Jói wrote: > Regarding ChromeContentRendererClient: Even if those two functions > need ...
8 years, 4 months ago (2012-08-07 14:05:37 UTC) #14
Torne
On 2012/08/07 14:05:37, Torne wrote: > On 2012/08/07 14:03:03, Jói wrote: > > Regarding ChromeContentRendererClient: ...
8 years, 4 months ago (2012-08-07 14:06:12 UTC) #15
Jói
http://codereview.chromium.org/10825155/diff/13001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): http://codereview.chromium.org/10825155/diff/13001/chrome/renderer/chrome_content_renderer_client.cc#newcode356 chrome/renderer/chrome_content_renderer_client.cc:356: #if defined(OS_ANDROID) On 2012/08/07 13:58:09, Torne wrote: > On ...
8 years, 4 months ago (2012-08-07 14:17:31 UTC) #16
Torne
On 2012/08/07 14:17:31, Jói wrote: > http://codereview.chromium.org/10825155/diff/13001/chrome/renderer/chrome_content_renderer_client.cc > File chrome/renderer/chrome_content_renderer_client.cc (right): > > http://codereview.chromium.org/10825155/diff/13001/chrome/renderer/chrome_content_renderer_client.cc#newcode356 > ...
8 years, 4 months ago (2012-08-07 14:35:43 UTC) #17
Jói
OK, in this case LGTM. On Tue, Aug 7, 2012 at 2:35 PM, <torne@chromium.org> wrote: ...
8 years, 4 months ago (2012-08-07 14:47:44 UTC) #18
Torne
OK, on further thought and comparison with android downstream I'm gonna revisit the chrome/ changes ...
8 years, 4 months ago (2012-08-07 17:00:19 UTC) #19
joth
One quick comment re. TabAndroid I agree stub versions of this is best way to ...
8 years, 4 months ago (2012-08-07 17:19:56 UTC) #20
Torne
OK, I've removed the chrome/ changes from this CL entirely, since they're not really related ...
8 years, 4 months ago (2012-08-08 12:34:09 UTC) #21
Torne
On 2012/08/08 12:34:09, Torne wrote: > OK, I've removed the chrome/ changes from this CL ...
8 years, 4 months ago (2012-08-09 10:48:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/torne@chromium.org/10825155/4004
8 years, 4 months ago (2012-08-09 10:48:36 UTC) #23
commit-bot: I haz the power
Presubmit check for 10825155-4004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-09 10:48:41 UTC) #24
Torne
8 years, 4 months ago (2012-08-09 10:53:30 UTC) #25
On 2012/08/09 10:48:41, I haz the power (commit-bot) wrote:
> Presubmit check for 10825155-4004 failed and returned exit status 1.
> 
> 
> Running presubmit commit checks ...
> 
> ** Presubmit Messages **
> If this change has an associated bug, add BUG=[bug number].
> 
> ** Presubmit Warnings **
> You added one or more #includes of files that are temporarily
> allowed but being removed. Can you avoid introducing the
> #include? See relevant DEPS file(s) for details and contacts.
>   android_webview/lib/main/webview_main_delegate.cc
>       Illegal include: "chrome/browser/chrome_content_browser_client.h"
>     Because of "!chrome/browser/chrome_content_browser_client.h" from
> android_webview/lib's include_rules. \
>   android_webview/lib/main/webview_main_delegate.cc
>       Illegal include: "chrome/common/chrome_paths.h"
>     Because of "!chrome/common/chrome_paths.h" from android_webview/lib's
> include_rules. \
>   android_webview/lib/main/webview_main_delegate.cc
>       Illegal include: "chrome/renderer/chrome_content_renderer_client.h"
>     Because of "!chrome/renderer/chrome_content_renderer_client.h" from
> android_webview/lib's include_rules. \
>   android_webview/lib/main/webview_main_delegate.h
>       Illegal include: "chrome/common/chrome_content_client.h"
>     Because of "!chrome/common/chrome_content_client.h" from
> android_webview/lib's include_rules. \
>   android_webview/lib/main/webview_stubs.cc
>       Illegal include: "chrome/browser/android/tab_android.h"
>     Because of "!chrome/browser/android/tab_android.h" from
> android_webview/lib's include_rules. \
>   android_webview/lib/main/webview_stubs.cc
>       Illegal include: "chrome/browser/autofill/autofill_external_delegate.h"
>     Because of "!chrome/browser/autofill/autofill_external_delegate.h" from
> android_webview/lib's include_rules.
> 
> Presubmit checks took 1.6s to calculate.

Doh, commitbot doesn't like presubmit warnings. Landing manually.

Powered by Google App Engine
This is Rietveld 408576698