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

Issue 2626863006: [Chromecast] Add CastWebContents (Closed)

Created:
3 years, 11 months ago by derekjchow1
Modified:
3 years, 10 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] Add CastWebView CastWebView is a simplified interface for loading and displaying a WebContents. BUG=internal b/33274359 TEST=cast_shell Review-Url: https://codereview.chromium.org/2626863006 Cr-Commit-Position: refs/heads/master@{#452085} Committed: https://chromium.googlesource.com/chromium/src/+/7348f0095cf19f8747e5e0dbdad4d91bc0fff0eb

Patch Set 1 #

Total comments: 2

Patch Set 2 : s/CastWebContents/CastWebView/g #

Total comments: 10

Patch Set 3 : [Chromecast] Add CastWebContents #

Total comments: 6

Patch Set 4 : [Chromecast] Add CastWebContents #

Patch Set 5 : Rebase #

Patch Set 6 : Browser Tests #

Patch Set 7 : Long overdue rebase #

Total comments: 9

Patch Set 8 : [Chromecast] Add CastWebContents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -210 lines) Patch
M chromecast/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/browser/android/cast_content_window_android.h View 1 2 3 4 5 6 4 chunks +1 line, -16 lines 0 comments Download
M chromecast/browser/android/cast_content_window_android.cc View 1 2 3 4 5 6 4 chunks +1 line, -58 lines 0 comments Download
M chromecast/browser/cast_content_window.h View 1 2 3 4 5 6 2 chunks +0 lines, -13 lines 0 comments Download
M chromecast/browser/cast_content_window_linux.h View 1 2 3 4 5 6 2 chunks +1 line, -17 lines 0 comments Download
M chromecast/browser/cast_content_window_linux.cc View 1 2 3 4 5 6 4 chunks +1 line, -63 lines 0 comments Download
A chromecast/browser/cast_web_view.h View 1 2 3 4 5 6 1 chunk +114 lines, -0 lines 0 comments Download
A chromecast/browser/cast_web_view.cc View 1 2 3 4 5 6 7 1 chunk +257 lines, -0 lines 0 comments Download
M chromecast/browser/service/cast_service_simple.h View 1 2 3 4 2 chunks +7 lines, -9 lines 0 comments Download
M chromecast/browser/service/cast_service_simple.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -16 lines 0 comments Download
M chromecast/browser/test/cast_browser_test.h View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
M chromecast/browser/test/cast_browser_test.cc View 1 2 3 4 5 6 2 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 51 (34 generated)
derekjchow1
As part of an effort to remove internal content dependencies, upstreaming a bit of our ...
3 years, 11 months ago (2017-01-13 21:28:13 UTC) #2
alokp
I like this change but have a high-level comment to make the boundary between this ...
3 years, 11 months ago (2017-01-14 00:43:40 UTC) #3
derekjchow1
https://codereview.chromium.org/2626863006/diff/1/chromecast/browser/cast_web_contents.cc File chromecast/browser/cast_web_contents.cc (right): https://codereview.chromium.org/2626863006/diff/1/chromecast/browser/cast_web_contents.cc#newcode33 chromecast/browser/cast_web_contents.cc:33: web_contents_(window_->CreateWebContents(browser_context_)), On 2017/01/14 00:43:40, alokp wrote: > The overlap ...
3 years, 11 months ago (2017-01-18 03:21:20 UTC) #4
alokp
Yes - we can rename it in another CL. Another round of comments on CastWebView ...
3 years, 11 months ago (2017-01-18 05:10:56 UTC) #5
derekjchow1
https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h File chromecast/browser/cast_web_view.h (right): https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h#newcode31 chromecast/browser/cast_web_view.h:31: // or if the render process crashes. |error_code| will ...
3 years, 11 months ago (2017-01-19 01:22:12 UTC) #7
alokp
https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h File chromecast/browser/cast_web_view.h (right): https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h#newcode59 chromecast/browser/cast_web_view.h:59: void ClosePage(); On 2017/01/19 01:22:11, derekjchow1 wrote: > On ...
3 years, 11 months ago (2017-01-19 05:26:36 UTC) #11
halliwell
https://codereview.chromium.org/2626863006/diff/40001/chromecast/browser/cast_web_view.cc File chromecast/browser/cast_web_view.cc (right): https://codereview.chromium.org/2626863006/diff/40001/chromecast/browser/cast_web_view.cc#newcode33 chromecast/browser/cast_web_view.cc:33: constexpr int kWebContentsDestructionDelayInMs = 50; On 2017/01/19 05:26:36, alokp ...
3 years, 11 months ago (2017-01-19 17:54:30 UTC) #12
derekjchow1
https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h File chromecast/browser/cast_web_view.h (right): https://codereview.chromium.org/2626863006/diff/20001/chromecast/browser/cast_web_view.h#newcode59 chromecast/browser/cast_web_view.h:59: void ClosePage(); On 2017/01/19 05:26:36, alokp wrote: > On ...
3 years, 11 months ago (2017-01-19 21:59:16 UTC) #13
alokp
Ideally we should use all public APIs in public or at least have a test ...
3 years, 11 months ago (2017-01-19 22:22:49 UTC) #14
derekjchow1
Will rebase and submit after Josh lands his change here: https://codereview.chromium.org/2643553002/
3 years, 11 months ago (2017-01-20 01:11:46 UTC) #19
halliwell
On 2017/01/20 01:11:46, derekjchow1 wrote: > Will rebase and submit after Josh lands his change ...
3 years, 10 months ago (2017-02-13 16:35:25 UTC) #28
derekjchow1
Sorry for the long delay, but I finally got the time to fix the browser ...
3 years, 10 months ago (2017-02-18 01:39:13 UTC) #31
halliwell
Looks good, just a couple small comments/questions. Btw, I think the CL subject + description ...
3 years, 10 months ago (2017-02-20 22:09:11 UTC) #34
derekjchow1
Updated issue as well. Thanks for pointing that out Luke! https://codereview.chromium.org/2626863006/diff/120001/chromecast/browser/cast_web_view.cc File chromecast/browser/cast_web_view.cc (right): https://codereview.chromium.org/2626863006/diff/120001/chromecast/browser/cast_web_view.cc#newcode90 ...
3 years, 10 months ago (2017-02-22 00:50:41 UTC) #37
halliwell
On 2017/02/22 00:50:41, derekjchow1 wrote: > Updated issue as well. Thanks for pointing that out ...
3 years, 10 months ago (2017-02-22 00:55:21 UTC) #39
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/2626863006/140001
3 years, 10 months ago (2017-02-22 16:41:08 UTC) #48
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 16:47:00 UTC) #51
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/7348f0095cf19f8747e5e0dbdad4...

Powered by Google App Engine
This is Rietveld 408576698