bindings: Implement web_idl.ObservableArray in web_idl_database [chromium/src : main]

0 views
Skip to first unread message

Yuki Shiino (Gerrit)

unread,
Sep 15, 2021, 8:55:37 AM9/15/21
to Kenichi Ishibashi, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Yuki Shiino

Attention is currently required from: Kenichi Ishibashi.

Yuki Shiino would like Kenichi Ishibashi to review this change.

View Change

bindings: Implement web_idl.ObservableArray in web_idl_database

Implements a class to represent an observable array of a certain
element type in order to help bindings code generation.

Instances of web_idl.ObservableArray have
- web_idl.IdlType that represents the observable array
- list of web_idl.Attribute that use the observable array type

Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
Bug: 1201744
---
M third_party/blink/renderer/bindings/scripts/web_idl/__init__.py
M third_party/blink/renderer/bindings/scripts/web_idl/database.py
M third_party/blink/renderer/bindings/scripts/web_idl/idl_compiler.py
M third_party/blink/renderer/bindings/scripts/web_idl/idl_type.py
A third_party/blink/renderer/bindings/scripts/web_idl/observable_array.py
5 files changed, 93 insertions(+), 1 deletion(-)


To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
Gerrit-Change-Number: 3159922
Gerrit-PatchSet: 4
Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-MessageType: newchange

Yuki Shiino (Gerrit)

unread,
Sep 15, 2021, 8:55:46 AM9/15/21
to Yuki Shiino, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Kenichi Ishibashi, chromium...@chromium.org, Kentaro Hara

Attention is currently required from: Kenichi Ishibashi.

View Change

1 comment:

To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
Gerrit-Change-Number: 3159922
Gerrit-PatchSet: 4
Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Comment-Date: Wed, 15 Sep 2021 12:55:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Kenichi Ishibashi (Gerrit)

unread,
Sep 15, 2021, 6:54:47 PM9/15/21
to Yuki Shiino, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org, Kentaro Hara

Attention is currently required from: Yuki Shiino.

Patch set 5:Code-Review +1

View Change

1 comment:

  • Patchset:

    • Patch Set #5:

      lgtm. We need more code to generate bindings for observable arrays. Is my understanding correct?

To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
Gerrit-Change-Number: 3159922
Gerrit-PatchSet: 5
Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Yuki Shiino <yukis...@chromium.org>
Gerrit-Comment-Date: Wed, 15 Sep 2021 22:54:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

Yuki Shiino (Gerrit)

unread,
Sep 16, 2021, 4:39:45 AM9/16/21
to Yuki Shiino, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Kenichi Ishibashi, Chromium LUCI CQ, chromium...@chromium.org, Kentaro Hara

View Change

1 comment:

  • Patchset:

    • Patch Set #5:

      lgtm. We need more code to generate bindings for observable arrays. […]

      Yes, right.

To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
Gerrit-Change-Number: 3159922
Gerrit-PatchSet: 5
Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Comment-Date: Thu, 16 Sep 2021 08:39:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-MessageType: comment

Yuki Shiino (Gerrit)

unread,
Sep 16, 2021, 4:39:52 AM9/16/21
to Yuki Shiino, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Kenichi Ishibashi, Chromium LUCI CQ, chromium...@chromium.org, Kentaro Hara

Patch set 5:Commit-Queue +2

View Change

    To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
    Gerrit-Change-Number: 3159922
    Gerrit-PatchSet: 5
    Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Sep 2021 08:39:25 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Chromium LUCI CQ (Gerrit)

    unread,
    Sep 16, 2021, 4:45:14 AM9/16/21
    to Yuki Shiino, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, Kenichi Ishibashi, chromium...@chromium.org, Kentaro Hara

    Chromium LUCI CQ submitted this change.

    View Change


    Approvals: Kenichi Ishibashi: Looks good to me Yuki Shiino: Commit
    bindings: Implement web_idl.ObservableArray in web_idl_database

    Implements a class to represent an observable array of a certain
    element type in order to help bindings code generation.

    Instances of web_idl.ObservableArray have
    - web_idl.IdlType that represents the observable array
    - list of web_idl.Attribute that use the observable array type

    Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
    Bug: 1201744
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3159922
    Reviewed-by: Kenichi Ishibashi <ba...@chromium.org>
    Commit-Queue: Yuki Shiino <yukis...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#922041}

    ---
    M third_party/blink/renderer/bindings/scripts/web_idl/__init__.py
    M third_party/blink/renderer/bindings/scripts/web_idl/database.py
    M third_party/blink/renderer/bindings/scripts/web_idl/idl_compiler.py
    M third_party/blink/renderer/bindings/scripts/web_idl/idl_type.py
    A third_party/blink/renderer/bindings/scripts/web_idl/observable_array.py
    5 files changed, 121 insertions(+), 1 deletion(-)


    To view, visit change 3159922. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I0b6168ee08ca53b344a73c906418240ef0c70700
    Gerrit-Change-Number: 3159922
    Gerrit-PatchSet: 6
    Gerrit-Owner: Yuki Shiino <yukis...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Yuki Shiino <yukis...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-MessageType: merged
    Reply all
    Reply to author
    Forward
    0 new messages