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

Issue 2474803002: [Media Remoting] Add function to create interstitial. (Closed)

Created:
4 years, 1 month ago by apacible
Modified:
4 years, 1 month ago
Reviewers:
xjz, cpu_(ooo_6.6-7.5), miu
CC:
chromium-reviews, feature-media-reviews_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Remoting] Add function to create interstitial. This change is the first part of the UX work for the media remoting project. This is currently not integrated with the rest of the remoting work, pending other changes landing. This change includes a function that takes a Skia canvas (with some image in pixels) and: - Desaturates the image. - Blurs the image. - Draws a Cast icon and text (depending on the remoting state). BUG=650357 Committed: https://crrev.com/7af38d67cda48d21835998a9ffd009e79e2c4c26 Cr-Commit-Position: refs/heads/master@{#431016}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Changes per xjz@'s comments. #

Total comments: 21

Patch Set 3 : Changes per miu@'s comments. #

Total comments: 3

Patch Set 4 : Fix compiler errors. #

Total comments: 2

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -1 line) Patch
M chrome/common/media/media_resource_provider.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/media_resources.h View 1 3 3 chunks +6 lines, -1 line 0 comments Download
M media/remoting/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A media/remoting/remoting_interstitial_ui.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A media/remoting/remoting_interstitial_ui.cc View 1 2 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (31 generated)
apacible
PTAL, thanks! Exact color, sizing, and positioning subject to change pending more final redlines from ...
4 years, 1 month ago (2016-11-03 01:07:26 UTC) #4
xjz
https://codereview.chromium.org/2474803002/diff/1/chrome/common/media/media_resource_provider.cc File chrome/common/media/media_resource_provider.cc (right): https://codereview.chromium.org/2474803002/diff/1/chrome/common/media/media_resource_provider.cc#newcode27 chrome/common/media/media_resource_provider.cc:27: case media::MEDIA_REMOTING_CAST_ERROR_TEXT: Add our build flag? #if BUILDFLAG(ENABLE_MEDIA_REMOTING) https://cs.chromium.org/chromium/src/content/renderer/render_frame_impl.cc?rcl=0&l=261 ...
4 years, 1 month ago (2016-11-03 23:53:40 UTC) #5
apacible
https://codereview.chromium.org/2474803002/diff/1/chrome/common/media/media_resource_provider.cc File chrome/common/media/media_resource_provider.cc (right): https://codereview.chromium.org/2474803002/diff/1/chrome/common/media/media_resource_provider.cc#newcode27 chrome/common/media/media_resource_provider.cc:27: case media::MEDIA_REMOTING_CAST_ERROR_TEXT: On 2016/11/03 23:53:39, xjz wrote: > Add ...
4 years, 1 month ago (2016-11-04 01:25:39 UTC) #8
miu
https://codereview.chromium.org/2474803002/diff/20001/media/remoting/remoting_interstitial_ui.cc File media/remoting/remoting_interstitial_ui.cc (right): https://codereview.chromium.org/2474803002/diff/20001/media/remoting/remoting_interstitial_ui.cc#newcode18 media/remoting/remoting_interstitial_ui.cc:18: scoped_refptr<VideoFrame> GetInterstitial(gfx::Size canvas_size, Is |canvas_size| ever different from existing_frame_canvas->getBaseLayerSize()? ...
4 years, 1 month ago (2016-11-04 22:02:30 UTC) #11
xjz
https://codereview.chromium.org/2474803002/diff/1/media/base/media_resources.h File media/base/media_resources.h (right): https://codereview.chromium.org/2474803002/diff/1/media/base/media_resources.h#newcode40 media/base/media_resources.h:40: MEDIA_EXPORT void SetLocalizedStringProvider(LocalizedStringProvider func); On 2016/11/04 01:25:38, apacible wrote: ...
4 years, 1 month ago (2016-11-04 22:10:24 UTC) #12
apacible
https://codereview.chromium.org/2474803002/diff/1/media/base/media_resources.h File media/base/media_resources.h (right): https://codereview.chromium.org/2474803002/diff/1/media/base/media_resources.h#newcode40 media/base/media_resources.h:40: MEDIA_EXPORT void SetLocalizedStringProvider(LocalizedStringProvider func); On 2016/11/04 22:10:23, xjz wrote: ...
4 years, 1 month ago (2016-11-05 01:12:52 UTC) #18
miu
lgtm % nit: https://codereview.chromium.org/2474803002/diff/60001/media/remoting/remoting_interstitial_ui.cc File media/remoting/remoting_interstitial_ui.cc (right): https://codereview.chromium.org/2474803002/diff/60001/media/remoting/remoting_interstitial_ui.cc#newcode19 media/remoting/remoting_interstitial_ui.cc:19: scoped_refptr<VideoFrame> GetInterstitial(SkCanvas* existing_frame_canvas, BTW--Is it ever ...
4 years, 1 month ago (2016-11-05 04:09:52 UTC) #21
apacible
+cpu for media/base and chrome/common/ LGTM PTAL, thanks!
4 years, 1 month ago (2016-11-07 16:49:02 UTC) #23
xjz
lgtm
4 years, 1 month ago (2016-11-07 17:49:48 UTC) #24
xjz
Nice work. Since jam@ is ooo until Dec 5, can you add another reviewer for ...
4 years, 1 month ago (2016-11-07 17:53:49 UTC) #25
apacible
On 2016/11/07 17:53:49, xjz wrote: > Nice work. Since jam@ is ooo until Dec 5, ...
4 years, 1 month ago (2016-11-07 17:55:39 UTC) #27
apacible
https://codereview.chromium.org/2474803002/diff/60001/media/remoting/remoting_interstitial_ui.cc File media/remoting/remoting_interstitial_ui.cc (right): https://codereview.chromium.org/2474803002/diff/60001/media/remoting/remoting_interstitial_ui.cc#newcode19 media/remoting/remoting_interstitial_ui.cc:19: scoped_refptr<VideoFrame> GetInterstitial(SkCanvas* existing_frame_canvas, On 2016/11/05 04:09:52, miu wrote: > ...
4 years, 1 month ago (2016-11-07 17:57:43 UTC) #28
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/2474803002/diff/80001/media/base/media_resources.h File media/base/media_resources.h (right): https://codereview.chromium.org/2474803002/diff/80001/media/base/media_resources.h#newcode31 media/base/media_resources.h:31: #if BUILDFLAG(ENABLE_MEDIA_REMOTING) is BUILDFLAG() macro defined in one ...
4 years, 1 month ago (2016-11-08 22:23:16 UTC) #33
apacible
Thanks! https://codereview.chromium.org/2474803002/diff/80001/media/base/media_resources.h File media/base/media_resources.h (right): https://codereview.chromium.org/2474803002/diff/80001/media/base/media_resources.h#newcode31 media/base/media_resources.h:31: #if BUILDFLAG(ENABLE_MEDIA_REMOTING) On 2016/11/08 22:23:15, cpu wrote: > ...
4 years, 1 month ago (2016-11-08 23:15:13 UTC) #34
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/2474803002/80001
4 years, 1 month ago (2016-11-08 23:16:07 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/102144) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 1 month ago (2016-11-08 23:19:08 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/2474803002/100001
4 years, 1 month ago (2016-11-09 19:55:14 UTC) #46
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-09 19:59:48 UTC) #48
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 20:14:58 UTC) #50
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7af38d67cda48d21835998a9ffd009e79e2c4c26
Cr-Commit-Position: refs/heads/master@{#431016}

Powered by Google App Engine
This is Rietveld 408576698