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

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed)

Created:
6 years, 4 months ago by gunsch
Modified:
6 years, 3 months ago
Reviewers:
lcwu1, Ted C, Yaron, byungchul, jam
CC:
chromium-reviews, ozone-reviews_chromium.org, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman, Ignacio Solla, damienv1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chromecast: initial checkin of Android-based cast shell. R=byungchul@chromium.org,lcwu@chromium.org,yfriedman@chromium.org BUG=400876 Committed: https://crrev.com/407189f61ab162096ea98c40b2ecd85875bd6049 Cr-Commit-Position: refs/heads/master@{#294476}

Patch Set 1 #

Total comments: 32

Patch Set 2 : addressing Yaron's feedback #

Patch Set 3 : missed a spot #

Total comments: 38

Patch Set 4 : addressing lcwu/byungchul comments #

Total comments: 5

Patch Set 5 : addressing another round of lcwu/byungchul comments #

Patch Set 6 : naming change #

Total comments: 23

Patch Set 7 : address yfriedman comments #

Patch Set 8 : LoadUrlParams moved to content_public #

Patch Set 9 : adds app_icon #

Patch Set 10 : missing finish() call #

Patch Set 11 : rebase #

Patch Set 12 : added android DEPS (git cl presubmit doesn't check Java DEPS?) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1657 lines, -117 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chromecast/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A chromecast/android/cast_jni_registrar.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
A chromecast/android/cast_jni_registrar.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
A chromecast/android/chromecast_config_android.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A chromecast/android/chromecast_config_android.cc View 1 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A chromecast/android/platform_jni_loader.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A + chromecast/android/platform_jni_loader_stub.cc View 1 2 3 4 5 6 1 chunk +5 lines, -4 lines 0 comments Download
A chromecast/android/src/dummy View 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 3 4 5 6 6 chunks +163 lines, -16 lines 0 comments Download
M chromecast/common/cast_paths.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chromecast/common/cast_paths.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -1 line 0 comments Download
A chromecast/common/global_descriptors.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A chromecast/service/cast_service_android.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A chromecast/service/cast_service_android.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A chromecast/shell/android/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
A + chromecast/shell/android/apk/AndroidManifest.xml View 1 2 3 4 5 6 2 chunks +32 lines, -34 lines 0 comments Download
A + chromecast/shell/android/apk/res/layout/cast_shell_activity.xml View 1 chunk +2 lines, -3 lines 0 comments Download
A + chromecast/shell/android/apk/res/layout/cast_window_view.xml View 1 chunk +9 lines, -11 lines 0 comments Download
A chromecast/shell/android/apk/res/mipmap-hdpi/app_icon.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A chromecast/shell/android/apk/res/mipmap-mdpi/app_icon.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A chromecast/shell/android/apk/res/mipmap-xhdpi/app_icon.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A chromecast/shell/android/apk/res/mipmap-xxhdpi/app_icon.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A + chromecast/shell/android/apk/res/values-v17/styles.xml View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A + chromecast/shell/android/apk/res/values/strings.xml View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
A + chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java View 1 1 chunk +11 lines, -16 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastBrowserHelper.java View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastShellActivity.java View 1 2 3 4 5 6 7 8 9 1 chunk +291 lines, -0 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java View 1 2 3 4 5 6 1 chunk +155 lines, -0 lines 0 comments Download
M chromecast/shell/app/DEPS View 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + chromecast/shell/app/android/cast_jni_loader.cc View 1 2 1 chunk +9 lines, -13 lines 0 comments Download
M chromecast/shell/app/cast_main_delegate.h View 3 chunks +13 lines, -0 lines 0 comments Download
M chromecast/shell/app/cast_main_delegate.cc View 1 2 3 4 2 chunks +54 lines, -2 lines 0 comments Download
A chromecast/shell/browser/android/cast_window_android.h View 1 chunk +87 lines, -0 lines 0 comments Download
A chromecast/shell/browser/android/cast_window_android.cc View 1 2 1 chunk +130 lines, -0 lines 0 comments Download
A chromecast/shell/browser/android/cast_window_manager.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/shell/browser/android/cast_window_manager.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download
M chromecast/shell/browser/cast_browser_main_parts.cc View 1 2 3 4 5 6 3 chunks +13 lines, -1 line 0 comments Download
M chromecast/shell/browser/cast_content_browser_client.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M chromecast/shell/browser/cast_http_user_agent_settings.cc View 2 chunks +10 lines, -1 line 0 comments Download
M chromecast/shell/browser/url_request_context_factory.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/shell/browser/url_request_context_factory.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 38 (6 generated)
gunsch
6 years, 4 months ago (2014-08-19 17:46:14 UTC) #1
gunsch
On 2014/08/19 17:46:14, gunsch wrote: jam@/igsolla@: Please add whomever you think would be best on ...
6 years, 4 months ago (2014-08-19 17:50:25 UTC) #2
jam
On 2014/08/19 17:50:25, gunsch wrote: > On 2014/08/19 17:46:14, gunsch wrote: > > jam@/igsolla@: Please ...
6 years, 4 months ago (2014-08-19 19:49:15 UTC) #3
gunsch
On 2014/08/19 19:49:15, jam wrote: > On 2014/08/19 17:50:25, gunsch wrote: > > On 2014/08/19 ...
6 years, 4 months ago (2014-08-19 21:39:28 UTC) #4
Yaron
https://codereview.chromium.org/490603002/diff/1/chromecast/android/cast_jni_registrar.h File chromecast/android/cast_jni_registrar.h (right): https://codereview.chromium.org/490603002/diff/1/chromecast/android/cast_jni_registrar.h#newcode13 chromecast/android/cast_jni_registrar.h:13: // Register all JNI bindings necessary for media shell. ...
6 years, 4 months ago (2014-08-20 18:11:02 UTC) #5
gunsch
Thanks for the thorough review. Some comments inline. If these answers aren't detailed enough, particularly ...
6 years, 4 months ago (2014-08-21 22:31:28 UTC) #6
gunsch
oops, missed a couple comments last round. addressed. https://codereview.chromium.org/490603002/diff/1/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java File chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java (right): https://codereview.chromium.org/490603002/diff/1/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java#newcode99 chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java:99: public ...
6 years, 4 months ago (2014-08-22 22:44:31 UTC) #7
lcwu1
https://codereview.chromium.org/490603002/diff/40001/chromecast/android/chromecast_config_android.h File chromecast/android/chromecast_config_android.h (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/android/chromecast_config_android.h#newcode40 chromecast/android/chromecast_config_android.h:40: } nit: add a comment "// namespace android" https://codereview.chromium.org/490603002/diff/40001/chromecast/chromecast.gyp ...
6 years, 3 months ago (2014-08-27 02:33:03 UTC) #8
lcwu1
https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc File chromecast/shell/app/cast_main_delegate.cc (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc#newcode54 chromecast/shell/app/cast_main_delegate.cc:54: base::CPU cpu_info; This variable doesn't appear to be used.
6 years, 3 months ago (2014-08-27 16:47:47 UTC) #9
lcwu1
https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/browser/devtools/remote_debugging_server.cc File chromecast/shell/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/browser/devtools/remote_debugging_server.cc#newcode48 chromecast/shell/browser/devtools/remote_debugging_server.cc:48: socket_name, "", base::Bind(&content::CanUserConnectToDevTools)); It looks like you will need ...
6 years, 3 months ago (2014-08-27 16:53:45 UTC) #10
byungchul
A partial review. More comments will go. https://codereview.chromium.org/490603002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/490603002/diff/40001/build/common.gypi#newcode100 build/common.gypi:100: 'embedded%': 1, ...
6 years, 3 months ago (2014-08-27 18:54:28 UTC) #11
byungchul
https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc File chromecast/shell/app/cast_main_delegate.cc (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc#newcode76 chromecast/shell/app/cast_main_delegate.cc:76: #if !defined(OS_ANDROID) Don't you have to guard it in ...
6 years, 3 months ago (2014-08-27 23:19:17 UTC) #12
gunsch
https://codereview.chromium.org/490603002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/490603002/diff/40001/build/common.gypi#newcode100 build/common.gypi:100: 'embedded%': 1, On 2014/08/27 18:54:27, byungchul wrote: > Why ...
6 years, 3 months ago (2014-08-28 00:12:09 UTC) #13
byungchul
https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h File chromecast/android/chromecast_config_android.h (right): https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h#newcode23 chromecast/android/chromecast_config_android.h:23: const base::Callback<void(bool)>& callback); Why not a inline function? https://codereview.chromium.org/490603002/diff/60001/chromecast/chromecast.gyp ...
6 years, 3 months ago (2014-08-28 01:34:39 UTC) #14
lcwu1
https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc File chromecast/shell/app/cast_main_delegate.cc (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc#newcode54 chromecast/shell/app/cast_main_delegate.cc:54: base::CPU cpu_info; On 2014/08/28 00:12:09, gunsch wrote: > On ...
6 years, 3 months ago (2014-08-28 02:40:29 UTC) #15
gunsch
https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc File chromecast/shell/app/cast_main_delegate.cc (right): https://codereview.chromium.org/490603002/diff/40001/chromecast/shell/app/cast_main_delegate.cc#newcode54 chromecast/shell/app/cast_main_delegate.cc:54: base::CPU cpu_info; On 2014/08/28 02:40:29, lcwu1 wrote: > On ...
6 years, 3 months ago (2014-08-28 02:59:27 UTC) #16
lcwu1
lgtm
6 years, 3 months ago (2014-08-28 05:07:07 UTC) #17
byungchul
https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h File chromecast/android/chromecast_config_android.h (right): https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h#newcode23 chromecast/android/chromecast_config_android.h:23: const base::Callback<void(bool)>& callback); On 2014/08/28 02:59:26, gunsch wrote: > ...
6 years, 3 months ago (2014-08-28 05:49:49 UTC) #18
gunsch
On 2014/08/28 05:49:49, byungchul wrote: > https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h > File chromecast/android/chromecast_config_android.h (right): > > https://codereview.chromium.org/490603002/diff/60001/chromecast/android/chromecast_config_android.h#newcode23 > ...
6 years, 3 months ago (2014-08-28 17:07:49 UTC) #19
byungchul
lgtm
6 years, 3 months ago (2014-08-28 17:11:45 UTC) #20
Yaron
https://codereview.chromium.org/490603002/diff/100001/chromecast/android/platform_jni_loader_simple.cc File chromecast/android/platform_jni_loader_simple.cc (right): https://codereview.chromium.org/490603002/diff/100001/chromecast/android/platform_jni_loader_simple.cc#newcode2 chromecast/android/platform_jni_loader_simple.cc:2: // Use of this source code is governed by ...
6 years, 3 months ago (2014-09-06 01:10:14 UTC) #21
gunsch
https://codereview.chromium.org/490603002/diff/100001/chromecast/android/platform_jni_loader_simple.cc File chromecast/android/platform_jni_loader_simple.cc (right): https://codereview.chromium.org/490603002/diff/100001/chromecast/android/platform_jni_loader_simple.cc#newcode2 chromecast/android/platform_jni_loader_simple.cc:2: // Use of this source code is governed by ...
6 years, 3 months ago (2014-09-08 19:42:23 UTC) #22
gunsch
+jam, can you take a quick look for the DEPS change in chromecast/shell/app/DEPS? We added ...
6 years, 3 months ago (2014-09-10 16:24:00 UTC) #24
Yaron
lgtm https://codereview.chromium.org/490603002/diff/100001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/490603002/diff/100001/chromecast/chromecast.gyp#newcode297 chromecast/chromecast.gyp:297: '<(cast_internal_gyp):cast_shell_android_internal' On 2014/09/08 19:42:23, gunsch wrote: > On ...
6 years, 3 months ago (2014-09-11 06:45:17 UTC) #25
gunsch
https://codereview.chromium.org/490603002/diff/100001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/490603002/diff/100001/chromecast/chromecast.gyp#newcode297 chromecast/chromecast.gyp:297: '<(cast_internal_gyp):cast_shell_android_internal' On 2014/09/11 06:45:16, Yaron_OOO_until_9-22 wrote: > On 2014/09/08 ...
6 years, 3 months ago (2014-09-11 16:19:07 UTC) #26
jam
lgtm for DEPS
6 years, 3 months ago (2014-09-11 16:35:57 UTC) #27
Yaron
On Thu, Sep 11, 2014 at 9:19 AM, <gunsch@chromium.org> wrote: > > https://codereview.chromium.org/490603002/diff/100001/ > chromecast/chromecast.gyp ...
6 years, 3 months ago (2014-09-11 16:37:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/490603002/200001
6 years, 3 months ago (2014-09-11 17:13:51 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/14170) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/14090) ios_rel_device_ninja ...
6 years, 3 months ago (2014-09-11 18:08:07 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/490603002/220001
6 years, 3 months ago (2014-09-11 18:09:28 UTC) #36
commit-bot: I haz the power
Committed patchset #12 (id:220001) as 84621418425a1f7249d480809c36a7a4858aab8d
6 years, 3 months ago (2014-09-11 22:14:35 UTC) #37
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 22:31:03 UTC) #38
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/407189f61ab162096ea98c40b2ecd85875bd6049
Cr-Commit-Position: refs/heads/master@{#294476}

Powered by Google App Engine
This is Rietveld 408576698