Commit 91ec85c5 authored by Nika Layzell's avatar Nika Layzell
Browse files

Bug 1752444 - Part 2: Rewrite direct_call.py protocols to use...

Bug 1752444 - Part 2: Rewrite direct_call.py protocols to use {Parent,Child}Impl attributes, r=ipc-reviewers,media-playback-reviewers,alwu,mccr8

This is a mechanical change which was performed by a script based on the
contents of direct_call.py, and then manually checked over to fix
various rewriting bugs caused by my glorified sed script. See the
previous part for more context on the change.

Differential Revision: https://phabricator.services.mozilla.com/D137227
parent 261ef74e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ struct TextRangeData
  int32_t EndOffset;
};

[NestedUpTo=inside_sync] sync protocol PDocAccessible
[NestedUpTo=inside_sync, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PDocAccessible
{
  manager PBrowser;
  manages PDocAccessiblePlatformExt;
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ struct ShowEventData
  bool EventSuppressed;
};

[ChildImpl=virtual, ParentImpl=virtual]
sync protocol PDocAccessible
{
  manager PBrowser;
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ namespace mozilla {
namespace dom {

// This protocol is used for the BroadcastChannel API
[ChildImpl=virtual, ParentImpl=virtual]
protocol PBroadcastChannel
{
  manager PBackground;
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ include "mozilla/ipc/ProtocolMessageUtils.h";
namespace mozilla {
namespace dom {

[ChildImpl=virtual, ParentImpl=virtual]
protocol PClientHandle
{
  manager PClientManager;
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {

[ChildImpl=virtual, ParentImpl=virtual]
protocol PClientHandleOp
{
  manager PClientHandle;
Loading