Surface within DevTools AutoPiP for media playback conditions [chromium/src : main]

0 views
Skip to first unread message

Tommy Steimel (Gerrit)

unread,
Mar 19, 2025, 6:18:27 PM3/19/25
to Benjamin Keen, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Benjamin Keen

Tommy Steimel added 3 comments

File content/browser/media/session/media_session_controller.h
Line 119, Patchset 5 (Latest): void OnAutoPictureInPictureInfoChanged(
Tommy Steimel . unresolved

This should be up in the `// MediaSessionPlayerObserver implementation.` section

File content/browser/media/session/media_session_impl.cc
Line 2167, Patchset 5 (Latest): if (normal_players_.size() == 0) {
Tommy Steimel . unresolved

nit: `normal_players_.empty()`

Line 2179, Patchset 5 (Latest): for (const auto& it : normal_players_) {
Tommy Steimel . unresolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Open in Gerrit

Related details

Attention is currently required from:
  • Benjamin Keen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 5
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Benjamin Keen <bk...@google.com>
Gerrit-Comment-Date: Wed, 19 Mar 2025 22:18:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Benjamin Keen (Gerrit)

unread,
Mar 20, 2025, 12:34:53 PM3/20/25
to Tommy Steimel, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Tommy Steimel

Benjamin Keen added 3 comments

File content/browser/media/session/media_session_controller.h
Line 119, Patchset 5: void OnAutoPictureInPictureInfoChanged(
Tommy Steimel . resolved

This should be up in the `// MediaSessionPlayerObserver implementation.` section

Benjamin Keen

Done

File content/browser/media/session/media_session_impl.cc
Line 2167, Patchset 5: if (normal_players_.size() == 0) {
Tommy Steimel . resolved

nit: `normal_players_.empty()`

Benjamin Keen

Done

Line 2179, Patchset 5: for (const auto& it : normal_players_) {
Tommy Steimel . unresolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Benjamin Keen

For video conferencing it should be ok to skip surfacing this info. The conditions for AutoPiP are pretty straight forward (camera/mic permission). But I am open to include those cases as well.

Do you think we should use `ForAllPlayers` instead?

Open in Gerrit

Related details

Attention is currently required from:
  • Tommy Steimel
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Tommy Steimel <ste...@chromium.org>
Gerrit-Comment-Date: Thu, 20 Mar 2025 16:34:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tommy Steimel <ste...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Tommy Steimel (Gerrit)

unread,
Mar 21, 2025, 6:14:12 PM3/21/25
to Benjamin Keen, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Benjamin Keen

Tommy Steimel added 1 comment

File content/browser/media/session/media_session_impl.cc
Line 2179, Patchset 5: for (const auto& it : normal_players_) {
Tommy Steimel . unresolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Benjamin Keen

For video conferencing it should be ok to skip surfacing this info. The conditions for AutoPiP are pretty straight forward (camera/mic permission). But I am open to include those cases as well.

Do you think we should use `ForAllPlayers` instead?

Tommy Steimel

I guess what I'm saying is this doesn't seem to be a player-specific thing, so recording it for each player doesn't seem to make sense to me, though to be fair I don't know much about media log

Open in Gerrit

Related details

Attention is currently required from:
  • Benjamin Keen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Benjamin Keen <bk...@google.com>
Gerrit-Comment-Date: Fri, 21 Mar 2025 22:13:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tommy Steimel <ste...@chromium.org>
Comment-In-Reply-To: Benjamin Keen <bk...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Benjamin Keen (Gerrit)

unread,
Mar 21, 2025, 9:23:54 PM3/21/25
to Ted (Chromium) Meyer, Tommy Steimel, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Ted (Chromium) Meyer and Tommy Steimel

Benjamin Keen added 1 comment

File content/browser/media/session/media_session_impl.cc
Line 2179, Patchset 5: for (const auto& it : normal_players_) {
Tommy Steimel . unresolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Benjamin Keen

For video conferencing it should be ok to skip surfacing this info. The conditions for AutoPiP are pretty straight forward (camera/mic permission). But I am open to include those cases as well.

Do you think we should use `ForAllPlayers` instead?

Tommy Steimel

I guess what I'm saying is this doesn't seem to be a player-specific thing, so recording it for each player doesn't seem to make sense to me, though to be fair I don't know much about media log

Benjamin Keen

Yes that's right. The log is not specific to a player, however media logs all seem to be assosicated to a player by design (DevTools -> Media), which is the reason I am surfacing the info for all players.

@tmath...@chromium.org: WDYT of this approach? Or is there an alternative to add this information to the Media DevTools section w/o using the players?

Open in Gerrit

Related details

Attention is currently required from:
  • Ted (Chromium) Meyer
  • Tommy Steimel
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Ted (Chromium) Meyer <tmath...@chromium.org>
Gerrit-Attention: Tommy Steimel <ste...@chromium.org>
Gerrit-Comment-Date: Sat, 22 Mar 2025 01:23:45 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Ted (Chromium) Meyer (Gerrit)

unread,
Mar 24, 2025, 2:24:51 PM3/24/25
to Benjamin Keen, Tommy Steimel, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Benjamin Keen and Tommy Steimel

Ted (Chromium) Meyer added 2 comments

File content/browser/media/session/media_session_controller.h
Line 87, Patchset 6 (Latest): const std::string& auto_picture_in_picture_info) override;
Ted (Chromium) Meyer . unresolved

Consider using std::string_view instead of `const std::string&`

File content/browser/media/session/media_session_impl.cc
Line 2179, Patchset 5: for (const auto& it : normal_players_) {
Tommy Steimel . unresolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Benjamin Keen

For video conferencing it should be ok to skip surfacing this info. The conditions for AutoPiP are pretty straight forward (camera/mic permission). But I am open to include those cases as well.

Do you think we should use `ForAllPlayers` instead?

Tommy Steimel

I guess what I'm saying is this doesn't seem to be a player-specific thing, so recording it for each player doesn't seem to make sense to me, though to be fair I don't know much about media log

Benjamin Keen

Yes that's right. The log is not specific to a player, however media logs all seem to be assosicated to a player by design (DevTools -> Media), which is the reason I am surfacing the info for all players.

@tmath...@chromium.org: WDYT of this approach? Or is there an alternative to add this information to the Media DevTools section w/o using the players?

Ted (Chromium) Meyer

From my understanding, the situation is that when a few conditions are met (like the permissions you mentioned), all players on the page become either eligable or ineligable for being auto-pipped, and you update the media logs for each of these players? If this is the case, it seems fine to me. I do suggest that you don't bother with additional string formatting here, since all the events get a name as well as a message, so you can just set the name to "auto-pip state" and then the message to whatever AutoPipReasonToString() returns.

Open in Gerrit

Related details

Attention is currently required from:
  • Benjamin Keen
  • Tommy Steimel
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Tommy Steimel <ste...@chromium.org>
Gerrit-Attention: Benjamin Keen <bk...@google.com>
Gerrit-Comment-Date: Mon, 24 Mar 2025 18:24:43 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Benjamin Keen (Gerrit)

unread,
Mar 25, 2025, 12:03:13 AM3/25/25
to Ted (Chromium) Meyer, Tommy Steimel, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Tommy Steimel

Benjamin Keen added 2 comments

File content/browser/media/session/media_session_controller.h
Line 87, Patchset 6: const std::string& auto_picture_in_picture_info) override;
Ted (Chromium) Meyer . resolved

Consider using std::string_view instead of `const std::string&`

Benjamin Keen

Done

File content/browser/media/session/media_session_impl.cc
Line 2179, Patchset 5: for (const auto& it : normal_players_) {
Tommy Steimel . resolved

Is there a reason we do this for every player and also not do this when there isn't a normal player? I think in many video conferencing cases there won't even be a normal player

Benjamin Keen

For video conferencing it should be ok to skip surfacing this info. The conditions for AutoPiP are pretty straight forward (camera/mic permission). But I am open to include those cases as well.

Do you think we should use `ForAllPlayers` instead?

Tommy Steimel

I guess what I'm saying is this doesn't seem to be a player-specific thing, so recording it for each player doesn't seem to make sense to me, though to be fair I don't know much about media log

Benjamin Keen

Yes that's right. The log is not specific to a player, however media logs all seem to be assosicated to a player by design (DevTools -> Media), which is the reason I am surfacing the info for all players.

@tmath...@chromium.org: WDYT of this approach? Or is there an alternative to add this information to the Media DevTools section w/o using the players?

Ted (Chromium) Meyer

From my understanding, the situation is that when a few conditions are met (like the permissions you mentioned), all players on the page become either eligable or ineligable for being auto-pipped, and you update the media logs for each of these players? If this is the case, it seems fine to me. I do suggest that you don't bother with additional string formatting here, since all the events get a name as well as a message, so you can just set the name to "auto-pip state" and then the message to whatever AutoPipReasonToString() returns.

Benjamin Keen

Tx Ted, that's correct, I had not looked at it from that perspective but that's essentially what ends up taking place indirectly.

Updated to apply to all players.

don't bother with additional string formatting here

Done. I may need additional formatting in a follow up, but it makes sense to move the formatting to the events info class.

Open in Gerrit

Related details

Attention is currently required from:
  • Tommy Steimel
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 7
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Tommy Steimel <ste...@chromium.org>
Gerrit-Comment-Date: Tue, 25 Mar 2025 04:02:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Ted (Chromium) Meyer <tmath...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Tommy Steimel (Gerrit)

unread,
Mar 27, 2025, 1:15:10 PM3/27/25
to Benjamin Keen, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Benjamin Keen

Tommy Steimel voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Benjamin Keen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
Gerrit-Change-Number: 6368240
Gerrit-PatchSet: 7
Gerrit-Owner: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Benjamin Keen <bk...@google.com>
Gerrit-Comment-Date: Thu, 27 Mar 2025 17:14:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Ted (Chromium) Meyer (Gerrit)

unread,
Mar 27, 2025, 11:32:26 PM3/27/25
to Benjamin Keen, Tommy Steimel, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
Attention needed from Benjamin Keen

Ted (Chromium) Meyer added 1 comment

File content/browser/media/session/media_session_impl.cc
Line 2176, Patchset 7 (Latest): media::PictureInPictureEventsInfo::AutoPipReasonToString(
Ted (Chromium) Meyer . unresolved

New patch is calling the to string method again for each player, move out and pass std::string_view to callback?

Open in Gerrit

Related details

Attention is currently required from:
  • Benjamin Keen
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
    Gerrit-Change-Number: 6368240
    Gerrit-PatchSet: 7
    Gerrit-Owner: Benjamin Keen <bk...@google.com>
    Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
    Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Benjamin Keen <bk...@google.com>
    Gerrit-Comment-Date: Fri, 28 Mar 2025 03:32:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Benjamin Keen (Gerrit)

    unread,
    Mar 28, 2025, 6:18:40 PM3/28/25
    to Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
    Attention needed from Dale Curtis

    Benjamin Keen added 1 comment

    File content/browser/media/session/media_session_impl.cc
    Line 2176, Patchset 7: media::PictureInPictureEventsInfo::AutoPipReasonToString(
    Ted (Chromium) Meyer . resolved

    New patch is calling the to string method again for each player, move out and pass std::string_view to callback?

    Benjamin Keen

    Thank you for catching this. Done.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dale Curtis
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
    Gerrit-Change-Number: 6368240
    Gerrit-PatchSet: 8
    Gerrit-Owner: Benjamin Keen <bk...@google.com>
    Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
    Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
    Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
    Gerrit-Comment-Date: Fri, 28 Mar 2025 22:18:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Dale Curtis (Gerrit)

    unread,
    Mar 28, 2025, 6:50:37 PM3/28/25
    to Benjamin Keen, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
    Attention needed from Benjamin Keen

    Dale Curtis voted and added 2 comments

    Votes added by Dale Curtis

    Code-Review+1

    2 comments

    Patchset-level comments
    File-level comment, Patchset 8 (Latest):
    Dale Curtis . unresolved

    lgtm for the files I own % type change.

    File third_party/blink/public/platform/web_media_player.h
    Line 443, Patchset 8 (Latest): const WTF::String& auto_picture_in_picture_info) = 0;
    Dale Curtis . unresolved

    This should be either std::string_view or WebString I think.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Benjamin Keen
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 8
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Fri, 28 Mar 2025 22:50:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Benjamin Keen (Gerrit)

      unread,
      Mar 31, 2025, 2:53:01 PM3/31/25
      to Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Dale Curtis

      Benjamin Keen added 2 comments

      Patchset-level comments
      Dale Curtis . resolved

      lgtm for the files I own % type change.

      Benjamin Keen

      Done

      File third_party/blink/public/platform/web_media_player.h
      Line 443, Patchset 8 (Latest): const WTF::String& auto_picture_in_picture_info) = 0;
      Dale Curtis . unresolved

      This should be either std::string_view or WebString I think.

      Benjamin Keen

      IIUC from this [document](https://chromium.googlesource.com/chromium/src/+/HEAD/mojo/public/cpp/bindings/README.md#variants), the mojom Blink generated code uses `WTF::String`. Please let me know if the guidance has changed.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dale Curtis
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 8
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
      Gerrit-Comment-Date: Mon, 31 Mar 2025 18:52:51 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Dale Curtis <dalec...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dale Curtis (Gerrit)

      unread,
      Mar 31, 2025, 4:26:45 PM3/31/25
      to Benjamin Keen, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Benjamin Keen

      Dale Curtis added 1 comment

      File third_party/blink/public/platform/web_media_player.h
      Line 443, Patchset 8 (Latest): const WTF::String& auto_picture_in_picture_info) = 0;
      Dale Curtis . unresolved

      This should be either std::string_view or WebString I think.

      Benjamin Keen

      IIUC from this [document](https://chromium.googlesource.com/chromium/src/+/HEAD/mojo/public/cpp/bindings/README.md#variants), the mojom Blink generated code uses `WTF::String`. Please let me know if the guidance has changed.

      Dale Curtis

      I don't think we're supposed to use WTF types in public/ interfaces:

      https://source.chromium.org/search?ss=chromium&q=file:third_party%2Fblink%2Fpublic%2Fplatform%2F%20WTF::String

      WebString should be interchangeable.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Benjamin Keen
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 8
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Mon, 31 Mar 2025 20:26:34 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Dale Curtis <dalec...@chromium.org>
      Comment-In-Reply-To: Benjamin Keen <bk...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Benjamin Keen (Gerrit)

      unread,
      Mar 31, 2025, 11:21:51 PM3/31/25
      to Bo Liu, Mark Foltz, Kentaro Hara, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Bo Liu, Kentaro Hara and Mark Foltz

      Benjamin Keen added 2 comments

      Patchset-level comments
      File-level comment, Patchset 9 (Latest):
      Benjamin Keen . resolved
      Adding:
      * @bo...@chromium.org for:
      * c/b/p/picture_in_picture_service_impl_unittest.cc
      * @mfo...@chromium.org for:
      * t/b/p/w/m/m/web_media_player_ms.h
      * @har...@chromium.org for:
      * t/b/p/p/web_media_player.h
      * t/b/r/p/t/empty_web_media_player.h
      * t/b/r/m/w/audio_context.h
      File third_party/blink/public/platform/web_media_player.h
      Line 443, Patchset 8: const WTF::String& auto_picture_in_picture_info) = 0;
      Dale Curtis . resolved

      This should be either std::string_view or WebString I think.

      Benjamin Keen

      IIUC from this [document](https://chromium.googlesource.com/chromium/src/+/HEAD/mojo/public/cpp/bindings/README.md#variants), the mojom Blink generated code uses `WTF::String`. Please let me know if the guidance has changed.

      Dale Curtis

      I don't think we're supposed to use WTF types in public/ interfaces:

      https://source.chromium.org/search?ss=chromium&q=file:third_party%2Fblink%2Fpublic%2Fplatform%2F%20WTF::String

      WebString should be interchangeable.

      Benjamin Keen

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Bo Liu
      • Kentaro Hara
      • Mark Foltz
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 9
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
      Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Kentaro Hara <har...@chromium.org>
      Gerrit-Attention: Bo Liu <bo...@chromium.org>
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 03:21:40 +0000
      satisfied_requirement
      open
      diffy

      Benjamin Keen (Gerrit)

      unread,
      Mar 31, 2025, 11:24:39 PM3/31/25
      to Chromium IPC Reviews, Bo Liu, Mark Foltz, Kentaro Hara, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Bo Liu, Chromium IPC Reviews, Kentaro Hara and Mark Foltz

      Benjamin Keen voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Bo Liu
      • Chromium IPC Reviews
      • Kentaro Hara
      • Mark Foltz
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 9
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
      Gerrit-Reviewer: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
      Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Kentaro Hara <har...@chromium.org>
      Gerrit-Attention: Bo Liu <bo...@chromium.org>
      Gerrit-Attention: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 03:24:30 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Kentaro Hara (Gerrit)

      unread,
      Mar 31, 2025, 11:25:12 PM3/31/25
      to Benjamin Keen, Chromium IPC Reviews, Bo Liu, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Benjamin Keen, Bo Liu, Chromium IPC Reviews and Mark Foltz

      Kentaro Hara voted and added 1 comment

      Votes added by Kentaro Hara

      Code-Review+1

      1 comment

      Patchset-level comments
      Kentaro Hara . resolved

      LGTM

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Benjamin Keen
      • Bo Liu
      • Chromium IPC Reviews
      • Mark Foltz
      Gerrit-Attention: Bo Liu <bo...@chromium.org>
      Gerrit-Attention: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 03:24:55 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      gwsq (Gerrit)

      unread,
      Mar 31, 2025, 11:29:49 PM3/31/25
      to Benjamin Keen, Chromium IPC Reviews, Ken Buchanan, Kentaro Hara, Bo Liu, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Benjamin Keen, Bo Liu, Ken Buchanan and Mark Foltz

      Message from gwsq

      From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
      IPC: ke...@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): ke...@chromium.org


      Reviewer source(s):
      ke...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Benjamin Keen
      • Bo Liu
      • Ken Buchanan
      • Mark Foltz
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 9
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
      Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Hongchan Choi <hong...@chromium.org>
      Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: Ted (Chromium) Meyer <tmath...@chromium.org>
      Gerrit-CC: gwsq
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Bo Liu <bo...@chromium.org>
      Gerrit-Attention: Ken Buchanan <ke...@chromium.org>
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 03:29:36 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Bo Liu (Gerrit)

      unread,
      Apr 1, 2025, 9:44:15 AM4/1/25
      to Benjamin Keen, Bo Liu, Chromium IPC Reviews, Ken Buchanan, Kentaro Hara, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Benjamin Keen, Ken Buchanan and Mark Foltz

      Bo Liu voted and added 1 comment

      Votes added by Bo Liu

      Code-Review+1

      1 comment

      Patchset-level comments
      Bo Liu . resolved

      picture_in_picture_service_impl_unittest.cc stamp

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Benjamin Keen
      • Ken Buchanan
      • Mark Foltz
      Gerrit-Attention: Ken Buchanan <ke...@chromium.org>
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 13:44:03 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Ken Buchanan (Gerrit)

      unread,
      Apr 1, 2025, 11:39:32 AM4/1/25
      to Benjamin Keen, Bo Liu, Chromium IPC Reviews, Kentaro Hara, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Benjamin Keen and Mark Foltz

      Ken Buchanan voted and added 1 comment

      Votes added by Ken Buchanan

      Code-Review+1

      1 comment

      Patchset-level comments
      Ken Buchanan . resolved

      mojom lgtm

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Benjamin Keen
      • Mark Foltz
      Gerrit-Attention: Mark Foltz <mfo...@chromium.org>
      Gerrit-Attention: Benjamin Keen <bk...@google.com>
      Gerrit-Comment-Date: Tue, 01 Apr 2025 15:39:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Benjamin Keen (Gerrit)

      unread,
      Apr 2, 2025, 1:03:44 PM4/2/25
      to Ken Buchanan, Bo Liu, Chromium IPC Reviews, Kentaro Hara, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, Chromium LUCI CQ, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org
      Attention needed from Mark Foltz

      Benjamin Keen voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Mark Foltz
      Gerrit-Comment-Date: Wed, 02 Apr 2025 17:03:26 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Apr 2, 2025, 2:44:19 PM4/2/25
      to Benjamin Keen, Ken Buchanan, Bo Liu, Chromium IPC Reviews, Kentaro Hara, Mark Foltz, Dale Curtis, Tommy Steimel, Code Review Nudger, Ted (Chromium) Meyer, chromium...@chromium.org, Hongchan Choi, srirama chandra sekhar, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, eric.c...@apple.com, erickun...@chromium.org, feature-me...@chromium.org, ipc-securi...@chromium.org, jophba...@chromium.org, kinuko...@chromium.org, mfoltz...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Surface within DevTools AutoPiP for media playback conditions

      This information will help developers identify why a picture in picture
      window was/was not opened automatically for media playback.

      This CL only plumbs the AutoPiP reason, a follow up CL will add the
      remaining conditions.
      Bug: 368058093, 386193409
      Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Reviewed-by: Dale Curtis <dalec...@chromium.org>
      Reviewed-by: Kentaro Hara <har...@chromium.org>
      Reviewed-by: Bo Liu <bo...@chromium.org>
      Commit-Queue: Benjamin Keen <bk...@google.com>
      Reviewed-by: Tommy Steimel <ste...@chromium.org>
      Reviewed-by: Ken Buchanan <ke...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1441683}
      Files:
      • M content/browser/media/session/media_session_controller.cc
      • M content/browser/media/session/media_session_controller.h
      • M content/browser/media/session/media_session_controller_unittest.cc
      • M content/browser/media/session/media_session_impl.cc
      • M content/browser/media/session/media_session_impl.h
      • M content/browser/media/session/media_session_impl_service_routing_unittest.cc
      • M content/browser/media/session/media_session_impl_unittest.cc
      • M content/browser/media/session/media_session_player_observer.h
      • M content/browser/media/session/media_session_service_impl_browsertest.cc
      • M content/browser/media/session/mock_media_session_player_observer.cc
      • M content/browser/media/session/mock_media_session_player_observer.h
      • M content/browser/media/session/pepper_player_delegate.h
      • M content/browser/picture_in_picture/picture_in_picture_service_impl_unittest.cc
      • M media/base/media_log_events.h
      • M media/mojo/mojom/media_player.mojom
      • M third_party/blink/public/platform/web_media_player.h
      • M third_party/blink/public/web/modules/mediastream/web_media_player_ms.h
      • M third_party/blink/renderer/core/html/media/html_media_element.cc
      • M third_party/blink/renderer/core/html/media/html_media_element.h
      • M third_party/blink/renderer/modules/mediacapturefromelement/html_video_element_capturer_source_unittest.cc
      • M third_party/blink/renderer/modules/webaudio/audio_context.h
      • M third_party/blink/renderer/platform/media/web_media_player_impl.cc
      • M third_party/blink/renderer/platform/media/web_media_player_impl.h
      • M third_party/blink/renderer/platform/testing/empty_web_media_player.h
      Change size: M
      Delta: 24 files changed, 166 insertions(+), 0 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Kentaro Hara, +1 by Bo Liu, +1 by Tommy Steimel, +1 by Ken Buchanan, +1 by Dale Curtis
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5bff670c357b041c047bd2c7536a9899abd28c49
      Gerrit-Change-Number: 6368240
      Gerrit-PatchSet: 10
      Gerrit-Owner: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Benjamin Keen <bk...@google.com>
      Gerrit-Reviewer: Bo Liu <bo...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
      Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages