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

Issue 2570623003: [Chromecast] Turn CastContentWindow into an abstract interface. (Closed)

Created:
4 years ago by derekjchow1
Modified:
3 years, 11 months ago
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Turn CastContentWindow into an abstract interface. CastContentWindowImpl is the implementation of CastContentWindow now. Add a CastContentWindowAndroid specific for Android platform. BUG=NONE TEST=cast_shell_apk Change-Id: I6092f733b54638256bd3028ac3d889f6b52a02fe Review-Url: https://codereview.chromium.org/2570623003 Cr-Commit-Position: refs/heads/master@{#443358} Committed: https://chromium.googlesource.com/chromium/src/+/504caf2ab4aa7bd4689957423b352ea135508f17

Patch Set 1 #

Patch Set 2 : Fix lint issues. #

Patch Set 3 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 4 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 5 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 6 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 7 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 8 : Set user data outside of contructor #

Total comments: 20

Patch Set 9 : git cl format #

Patch Set 10 : Create shell JNI registrar #

Patch Set 11 : Fix gn check #

Total comments: 4

Patch Set 12 : Remove duplicate dependency #

Total comments: 19

Patch Set 13 : Address Wez's comments #

Patch Set 14 : [Chromecast] Turn CastContentWindow into an abstract interface. #

Patch Set 15 : Fix browser test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1013 lines, -1429 lines) Patch
M chromecast/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -3 lines 0 comments Download
M chromecast/android/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M chromecast/android/cast_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -7 lines 0 comments Download
D chromecast/android/cast_metrics_helper_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -26 lines 0 comments Download
D chromecast/android/cast_metrics_helper_android.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -27 lines 0 comments Download
M chromecast/app/android/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/app/android/cast_jni_loader.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M chromecast/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +15 lines, -7 lines 0 comments Download
M chromecast/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/browser/android/BUILD.gn View 1 chunk +2 lines, -3 lines 0 comments Download
M chromecast/browser/android/apk/AndroidManifest.xml.jinja2 View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -2 lines 0 comments Download
D chromecast/browser/android/apk/res/layout/cast_shell_activity.xml View 1 chunk +0 lines, -13 lines 0 comments Download
A + chromecast/browser/android/apk/res/layout/cast_web_contents_activity.xml View 1 chunk +6 lines, -4 lines 0 comments Download
D chromecast/browser/android/apk/res/layout/cast_window_view.xml View 1 chunk +0 lines, -18 lines 0 comments Download
A chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastContentWindowAndroid.java View 1 2 3 4 5 6 7 8 9 1 chunk +134 lines, -0 lines 0 comments Download
M chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
D chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastShellActivity.java View 1 chunk +0 lines, -328 lines 0 comments Download
A chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWebContentsActivity.java View 1 2 3 4 5 6 7 8 9 1 chunk +354 lines, -0 lines 0 comments Download
D chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java View 1 chunk +0 lines, -190 lines 0 comments Download
D chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java View 1 chunk +0 lines, -158 lines 0 comments Download
A chromecast/browser/android/cast_content_window_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +71 lines, -0 lines 0 comments Download
A chromecast/browser/android/cast_content_window_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +135 lines, -0 lines 0 comments Download
A + chromecast/browser/android/cast_metrics_helper_android.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -4 lines 0 comments Download
A + chromecast/browser/android/cast_metrics_helper_android.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -1 line 0 comments Download
A chromecast/browser/android/cast_web_contents_activity.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A chromecast/browser/android/cast_web_contents_activity.cc View 1 2 3 4 5 6 7 8 9 1 chunk +71 lines, -0 lines 0 comments Download
D chromecast/browser/android/cast_window_android.h View 1 chunk +0 lines, -94 lines 0 comments Download
D chromecast/browser/android/cast_window_android.cc View 1 chunk +0 lines, -161 lines 0 comments Download
D chromecast/browser/android/cast_window_manager.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chromecast/browser/android/cast_window_manager.cc View 1 chunk +0 lines, -95 lines 0 comments Download
A chromecast/browser/android/jni_registrar.h View 1 2 3 4 5 6 7 8 9 1 chunk +19 lines, -0 lines 0 comments Download
A chromecast/browser/android/jni_registrar.cc View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
M chromecast/browser/cast_content_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +28 lines, -35 lines 0 comments Download
D chromecast/browser/cast_content_window.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -166 lines 0 comments Download
A + chromecast/browser/cast_content_window_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +20 lines, -18 lines 0 comments Download
A + chromecast/browser/cast_content_window_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +37 lines, -23 lines 0 comments Download
M chromecast/browser/service/cast_service_simple.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -2 lines 0 comments Download
M chromecast/browser/service/cast_service_simple.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -3 lines 0 comments Download
M chromecast/browser/test/cast_browser_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -3 lines 0 comments Download
M chromecast/browser/test/cast_browser_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 86 (64 generated)
derekjchow1
Moving the refactor upstream. Patchset 1 represents where we left of in our internal review. ...
4 years ago (2016-12-15 19:30:42 UTC) #32
derekjchow1
Ping.
4 years ago (2016-12-16 19:35:40 UTC) #33
byungchul
https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS File chromecast/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS#newcode5 chromecast/android/DEPS:5: "+chromecast/browser/android", Why? https://codereview.chromium.org/2570623003/diff/140001/chromecast/browser/BUILD.gn File chromecast/browser/BUILD.gn (right): https://codereview.chromium.org/2570623003/diff/140001/chromecast/browser/BUILD.gn#newcode122 chromecast/browser/BUILD.gn:122: "cast_content_window_linux.h", ...
4 years ago (2016-12-16 22:52:23 UTC) #36
derekjchow1
Most of your linter comments argue against clang-format. https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS File chromecast/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS#newcode5 chromecast/android/DEPS:5: "+chromecast/browser/android", ...
4 years ago (2016-12-17 00:13:08 UTC) #39
byungchul
https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS File chromecast/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS#newcode5 chromecast/android/DEPS:5: "+chromecast/browser/android", On 2016/12/17 00:13:07, derekjchow1 wrote: > On 2016/12/16 ...
4 years ago (2016-12-17 00:57:37 UTC) #40
derekjchow1
https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS File chromecast/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/140001/chromecast/android/DEPS#newcode5 chromecast/android/DEPS:5: "+chromecast/browser/android", On 2016/12/17 00:57:37, byungchul wrote: > On 2016/12/17 ...
4 years ago (2016-12-19 17:51:31 UTC) #41
byungchul
lgtm
3 years, 11 months ago (2017-01-03 22:56:44 UTC) #42
alokp
lgtm ++ https://codereview.chromium.org/2570623003/diff/200001/chromecast/browser/android/DEPS File chromecast/browser/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/200001/chromecast/browser/android/DEPS#newcode2 chromecast/browser/android/DEPS:2: "+chromecast/browser" This should not be necessary since ...
3 years, 11 months ago (2017-01-05 22:04:51 UTC) #49
derekjchow1
https://codereview.chromium.org/2570623003/diff/200001/chromecast/browser/android/DEPS File chromecast/browser/android/DEPS (right): https://codereview.chromium.org/2570623003/diff/200001/chromecast/browser/android/DEPS#newcode2 chromecast/browser/android/DEPS:2: "+chromecast/browser" On 2017/01/05 22:04:51, alokp wrote: > This should ...
3 years, 11 months ago (2017-01-05 22:27:25 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570623003/220001
3 years, 11 months ago (2017-01-07 00:10:12 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/336893)
3 years, 11 months ago (2017-01-07 00:19:42 UTC) #59
derekjchow1
+wez, +boliu wez, could you take a look at chromecast/browser/cast_content_window.h and see if our dependency ...
3 years, 11 months ago (2017-01-07 00:27:53 UTC) #60
derekjchow1
3 years, 11 months ago (2017-01-09 17:52:43 UTC) #61
derekjchow1
3 years, 11 months ago (2017-01-09 17:53:21 UTC) #63
derekjchow1
Ping on this issue.
3 years, 11 months ago (2017-01-10 19:15:16 UTC) #64
boliu
On 2017/01/10 19:15:16, derekjchow1 wrote: > Ping on this issue. content/public/android DEPS lgtm Sorry.. for ...
3 years, 11 months ago (2017-01-10 19:20:19 UTC) #65
Wez
https://codereview.chromium.org/2570623003/diff/220001/chromecast/browser/android/cast_content_window_android.h File chromecast/browser/android/cast_content_window_android.h (right): https://codereview.chromium.org/2570623003/diff/220001/chromecast/browser/android/cast_content_window_android.h#newcode32 chromecast/browser/android/cast_content_window_android.h:32: explicit CastContentWindowAndroid(CastContentWindow::Delegate* delegate); As noted in the Linux impl, ...
3 years, 11 months ago (2017-01-11 20:47:55 UTC) #66
derekjchow1
Thanks for the comments Wez. +sadrul, could you check if our new dependency on ui/events ...
3 years, 11 months ago (2017-01-11 21:54:34 UTC) #68
sadrul
On 2017/01/11 21:54:34, derekjchow1 wrote: > Thanks for the comments Wez. > > +sadrul, could ...
3 years, 11 months ago (2017-01-12 02:55:13 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570623003/280001
3 years, 11 months ago (2017-01-12 20:57:21 UTC) #82
Wez
LGTM FWIW - thanks for making those changes. :) https://codereview.chromium.org/2570623003/diff/220001/chromecast/browser/android/cast_content_window_android.h File chromecast/browser/android/cast_content_window_android.h (right): https://codereview.chromium.org/2570623003/diff/220001/chromecast/browser/android/cast_content_window_android.h#newcode32 chromecast/browser/android/cast_content_window_android.h:32: ...
3 years, 11 months ago (2017-01-12 21:04:29 UTC) #83
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 21:05:08 UTC) #86
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/504caf2ab4aa7bd4689957423b35...

Powered by Google App Engine
This is Rietveld 408576698