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

Issue 10035034: Implement the skeleton of an android content shell. (Closed)

Created:
8 years, 8 months ago by Ted C
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, erikwright (departed), darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Implement the skeleton of an android content shell. Many TODOs here that will allow a quicker distribution of work to get the remaining pieces upstreamed. BUG=118591 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133857

Patch Set 1 #

Patch Set 2 : Iterating...java builds, .so does not link. Step 1. #

Patch Set 3 : Remove unnecessary bits. #

Total comments: 23

Patch Set 4 : Fixed a couple linker issues. Only remaining is Webkit duplication (beverloo to handle). #

Patch Set 5 : Fixing up most of the review comments. #

Total comments: 26

Patch Set 6 : Rework ant file a bit #

Patch Set 7 : remove tabs from content.xml #

Total comments: 12

Patch Set 8 : Resolved jrg's comments #

Patch Set 9 : Resolving jam's comments #

Patch Set 10 : Add .so dependency since that now links. #

Patch Set 11 : Move content/android -> content/public/android #

Total comments: 2

Patch Set 12 : Fixing incorrect license header #

Patch Set 13 : Fix DEPS issues and hopefully the drawable inclusion failure #

Total comments: 3

Patch Set 14 : Removed drawable png as it was checked in separately. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1322 lines, -43 lines) Patch
A base/android/base_jni_registrar.h View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
A base/android/base_jni_registrar.cc View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
M base/android/jni_android.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A base/android/jni_helper.h View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
A base/android/jni_helper.cc View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A base/android/jni_registrar.h View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 2 comments Download
A base/android/jni_registrar.cc View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -5 lines 0 comments Download
M build/java.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/android/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
A content/browser/android/library_loader_hooks.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +80 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -6 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +78 lines, -4 lines 0 comments Download
A content/public/android/java/content.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +61 lines, -0 lines 0 comments Download
A content/public/android/java/org/chromium/content/browser/ContentView.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +113 lines, -0 lines 0 comments Download
A content/public/browser/android_library_loader_hooks.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
M content/shell/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/android/AndroidManifest.xml View 1 1 chunk +20 lines, -16 lines 0 comments Download
M content/shell/android/content_shell_apk.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java View 1 1 chunk +73 lines, -7 lines 0 comments Download
A content/shell/android/java/org/chromium/content_shell/ContentShellApplication.java View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A content/shell/android/java/org/chromium/content_shell/ShellManager.java View 1 chunk +52 lines, -0 lines 0 comments Download
A content/shell/android/java/org/chromium/content_shell/ShellView.java View 1 1 chunk +167 lines, -0 lines 0 comments Download
A content/shell/android/res/drawable/progress.xml View 1 chunk +13 lines, -0 lines 0 comments Download
A content/shell/android/res/layout/content_shell_activity.xml View 1 chunk +14 lines, -0 lines 0 comments Download
A content/shell/android/res/layout/shell_view.xml View 1 1 chunk +47 lines, -0 lines 0 comments Download
A content/shell/android/res/values/strings.xml View 1 chunk +13 lines, -0 lines 0 comments Download
A content/shell/android/shell_library_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A content/shell/android/shell_manager.h View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A content/shell/android/shell_manager.cc View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A content/shell/android/shell_view.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A content/shell/android/shell_view.cc View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M content/shell/shell.h View 2 chunks +4 lines, -0 lines 0 comments Download
A content/shell/shell_android.cc View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
M content/shell/shell_browser_main.cc View 1 2 3 4 5 6 7 8 5 chunks +17 lines, -0 lines 0 comments Download
M content/shell/shell_browser_main_parts.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_browser_main_parts.cc View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
A media/base/android/media_jni_registrar.h View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A media/base/android/media_jni_registrar.cc View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
Ted C
8 years, 8 months ago (2012-04-18 22:18:38 UTC) #1
Yaron
Just a bunch of nits but lgtm. Probably should get jam to look at this ...
8 years, 8 months ago (2012-04-19 00:35:34 UTC) #2
Ted C
Most comments resolved...need to clean up the .xml files. http://codereview.chromium.org/10035034/diff/33/content/android/java/org/chromium/content/browser/ContentView.java File content/android/java/org/chromium/content/browser/ContentView.java (right): http://codereview.chromium.org/10035034/diff/33/content/android/java/org/chromium/content/browser/ContentView.java#newcode13 content/android/java/org/chromium/content/browser/ContentView.java:13: ...
8 years, 8 months ago (2012-04-19 01:17:07 UTC) #3
John Grabowski
LGTM with tweaks and re-sync with the other CL we've been talking about Definitely get ...
8 years, 8 months ago (2012-04-19 18:55:27 UTC) #4
jam
http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml File content/android/java/content.xml (right): http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml#newcode1 content/android/java/content.xml:1: <!-- Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-19 21:56:26 UTC) #5
Ted C
Resolved jrg's comments...onto jam's http://codereview.chromium.org/10035034/diff/70/base/android/jni_android.h File base/android/jni_android.h (right): http://codereview.chromium.org/10035034/diff/70/base/android/jni_android.h#newcode15 base/android/jni_android.h:15: #define JNI_EXPORT __attribute__ ((visibility("default"))) On ...
8 years, 8 months ago (2012-04-19 23:21:06 UTC) #6
Ted C
Just the content package structure comment remaining...adding Grace to comment. I believe I've covered all ...
8 years, 8 months ago (2012-04-20 01:14:13 UTC) #7
klobag.chromium
http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml File content/android/java/content.xml (right): http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml#newcode1 content/android/java/content.xml:1: <!-- Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-20 01:32:25 UTC) #8
Ted C
FWIW...the content_shell_content_view will successfully generate a .so with the following Webkit change: http://trac.webkit.org/changeset/114697
8 years, 8 months ago (2012-04-20 02:38:03 UTC) #9
jam
http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml File content/android/java/content.xml (right): http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml#newcode1 content/android/java/content.xml:1: <!-- Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-20 16:15:27 UTC) #10
klobag.chromium
http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml File content/android/java/content.xml (right): http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml#newcode1 content/android/java/content.xml:1: <!-- Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-20 17:13:57 UTC) #11
Ted C
Peter's patch made it's way into the chrome trunk, so the .so file now links ...
8 years, 8 months ago (2012-04-20 20:10:16 UTC) #12
jam
http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml File content/android/java/content.xml (right): http://codereview.chromium.org/10035034/diff/22002/content/android/java/content.xml#newcode1 content/android/java/content.xml:1: <!-- Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-20 21:40:03 UTC) #13
Ted C
Moved content/android -> content/public/android PTAL
8 years, 8 months ago (2012-04-23 21:18:31 UTC) #14
Ted C
Adding a couple reviewers for the gyp changes in the other directories I touched: fischman ...
8 years, 8 months ago (2012-04-23 21:22:53 UTC) #15
Mark Mentovai
http://codereview.chromium.org/10035034/diff/43001/base/base.gypi File base/base.gypi (right): http://codereview.chromium.org/10035034/diff/43001/base/base.gypi#newcode24 base/base.gypi:24: 'android/base_jni_registrar.cc', That must be some kind of joke. Your ...
8 years, 8 months ago (2012-04-23 21:27:58 UTC) #16
Ted C
http://codereview.chromium.org/10035034/diff/43001/base/base.gypi File base/base.gypi (right): http://codereview.chromium.org/10035034/diff/43001/base/base.gypi#newcode24 base/base.gypi:24: 'android/base_jni_registrar.cc', On 2012/04/23 21:27:59, Mark Mentovai wrote: > That ...
8 years, 8 months ago (2012-04-23 21:31:12 UTC) #17
Mark Mentovai
It’s stupid, but if that’s all you need, LGTM. I only “reviewed” base.gypi.
8 years, 8 months ago (2012-04-23 21:34:21 UTC) #18
jam
content lgtm
8 years, 8 months ago (2012-04-23 22:42:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/10035034/50001
8 years, 8 months ago (2012-04-24 01:57:30 UTC) #20
commit-bot: I haz the power
Try job failure for 10035034-50001 (retry) on android for steps "Compile, build". It's a second ...
8 years, 8 months ago (2012-04-24 02:26:19 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/10035034/54001
8 years, 8 months ago (2012-04-24 18:33:54 UTC) #22
commit-bot: I haz the power
Try job failure for 10035034-54001 (retry) on android for steps "Compile, build". It's a second ...
8 years, 8 months ago (2012-04-24 19:00:48 UTC) #23
Ami GONE FROM CHROMIUM
Only looked at media/ http://codereview.chromium.org/10035034/diff/54001/media/base/android/media_jni_registrar.cc File media/base/android/media_jni_registrar.cc (right): http://codereview.chromium.org/10035034/diff/54001/media/base/android/media_jni_registrar.cc#newcode17 media/base/android/media_jni_registrar.cc:17: MediaPlayerBridge::RegisterMediaPlayerListener }, Is there a ...
8 years, 8 months ago (2012-04-24 19:44:55 UTC) #24
Ted C
http://codereview.chromium.org/10035034/diff/54001/media/base/android/media_jni_registrar.cc File media/base/android/media_jni_registrar.cc (right): http://codereview.chromium.org/10035034/diff/54001/media/base/android/media_jni_registrar.cc#newcode17 media/base/android/media_jni_registrar.cc:17: MediaPlayerBridge::RegisterMediaPlayerListener }, On 2012/04/24 19:44:55, Ami Fischman wrote: > ...
8 years, 8 months ago (2012-04-24 22:28:10 UTC) #25
Ami GONE FROM CHROMIUM
Thanks for addressing my concerns. LGTM for media/
8 years, 8 months ago (2012-04-25 01:32:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/10035034/61002
8 years, 8 months ago (2012-04-25 01:33:50 UTC) #27
commit-bot: I haz the power
Change committed as 133857
8 years, 8 months ago (2012-04-25 03:18:49 UTC) #28
Steve Block
http://codereview.chromium.org/10035034/diff/61002/base/android/jni_registrar.h File base/android/jni_registrar.h (right): http://codereview.chromium.org/10035034/diff/61002/base/android/jni_registrar.h#newcode14 base/android/jni_registrar.h:14: class RegistrationMethod; I think this should be 'struct RegistrationMethod'.
8 years, 7 months ago (2012-05-10 14:53:22 UTC) #29
John Grabowski
Thx for review http://codereview.chromium.org/10035034/diff/61002/base/android/jni_registrar.h File base/android/jni_registrar.h (right): http://codereview.chromium.org/10035034/diff/61002/base/android/jni_registrar.h#newcode14 base/android/jni_registrar.h:14: class RegistrationMethod; On 2012/05/10 14:53:23, Steve ...
8 years, 7 months ago (2012-05-10 14:54:43 UTC) #30
jam
8 years, 6 months ago (2012-05-30 01:33:58 UTC) #31
http://codereview.chromium.org/10035034/diff/54001/content/public/browser/and...
File content/public/browser/android_library_loader_hooks.h (right):

http://codereview.chromium.org/10035034/diff/54001/content/public/browser/and...
content/public/browser/android_library_loader_hooks.h:1: // Copyright (c) 2012
The Chromium Authors. All rights reserved.
why did this file get moved to content/public/browser? this change got a lgtm
before that happened, so if you move stuff like this again, please double check
with owners of that directory. in this case, I don't see this file being used
from outside of content so it doesn't appear to belong there.

Powered by Google App Engine
This is Rietveld 408576698