const blink::mojom::blink::MediaSessionActionDetailsPtr& details);
Blink Style Guide: Naming - May leave obvious parameter names out of function declarations. The parameter name 'details' is evident from its type `MediaSessionActionDetailsPtr` and can be omitted in the header file declaration.
_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reason
This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent).AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve.[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
const blink::mojom::blink::MediaSessionActionDetailsPtr& details);
Blink Style Guide: Naming - May leave obvious parameter names out of function declarations. The parameter name 'details' is evident from its type `MediaSessionActionDetailsPtr` and can be omitted in the header file declaration.
_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reasonThis comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent).AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve.[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
+dcheng@ owners review of:
third_party/blink/public/mojom/mediasession/media_session.mojom
third_party/blink/renderer/modules/mediasession/media_session_type_converters.*
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
kOther,
These are kind of straightforward, but I'm not entirely sure what would fall into the `kOther` bucket. Are there specific examples we can provide in comments here?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
font
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: arthurs...@chromium.org, dch...@chromium.org, mk...@chromium.org
📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).
IPC reviewer(s): arthurs...@chromium.org, dch...@chromium.org, mk...@chromium.org
Note: IPC gwsq added no new reviewers; existing reviewers satisfied requirements!
Reviewer source(s):
dch...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
These are kind of straightforward, but I'm not entirely sure what would fall into the `kOther` bucket. Are there specific examples we can provide in comments here?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
return V8MediaSessionEnterPictureInPictureReason::Enum::kContentoccluded;
Can we make this a TypeConvert specialization as well?
(Normally I'd ask for a typemap but that's a bit annoying with the V8 IDLs)
blink_details = TypeConverter<
blink::MediaSessionEnterPictureInPictureActionDetails*,
blink::mojom::blink::MediaSessionActionDetailsPtr>::Convert(details);
Rather than invoking the specialization directly:
```suggestion
blink_details = mojo::ConvertTo<
blink::MediaSessionSeekToActionDetails*>::Convert(details);
```
Should work.
blink_details->setEnterPictureInPictureReason(MojomReasonToBlinkReason(
And this would "just" be `mojo::ConvertTo<V8MediaSessionEnterPictureInPictureReason>(details->get_enter_picture_in_picture()->reason())`
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
return V8MediaSessionEnterPictureInPictureReason::Enum::kContentoccluded;
Can we make this a TypeConvert specialization as well?
(Normally I'd ask for a typemap but that's a bit annoying with the V8 IDLs)
Done
blink_details = TypeConverter<
blink::MediaSessionEnterPictureInPictureActionDetails*,
blink::mojom::blink::MediaSessionActionDetailsPtr>::Convert(details);
Rather than invoking the specialization directly:
```suggestion
blink_details = mojo::ConvertTo<
blink::MediaSessionSeekToActionDetails*>::Convert(details);
```Should work.
Done
blink_details->setEnterPictureInPictureReason(MojomReasonToBlinkReason(
And this would "just" be `mojo::ConvertTo<V8MediaSessionEnterPictureInPictureReason>(details->get_enter_picture_in_picture()->reason())`
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Media Session: Add MediaSessionEnterPictureInPictureReason
This CL adds a reason to be sent alongside `enterpictureinpicture`
Media Session actions to indicate the source of the picture-in-picture
request.
Spec change: https://github.com/w3c/mediasession/pull/362
Chromestatus: https://chromestatus.com/feature/6415506970116096
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |