Moves WebDevToolsAgentImpl to core. This required removing direct calls to modules/ agents. Instead, these agents register a callback from ModulesInitializer::Initialize [chromium/src : master]

1 view
Skip to first unread message

Nicholas Verne (Gerrit)

unread,
Jun 23, 2017, 12:03:15 AM6/23/17
to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Daniel Cheng, Kentaro Hara, Stuart Langley, chromium...@chromium.org, devtools...@chromium.org

Nicholas Verne posted comments on this change.

View Change

Patch set 1:

There are problems I need help with in this CL:

SessionInitCallbackArgs are using raw pointers to GC'd types. But to use Member<> means that the complete type must be known where this struct is declared. What do we usually have to do here?

Also, we intend to move (eventually) WebDevToolsAgentImpl into controller/, which (IIUC) should be able to see modules/. Is the callback mechanism worth it? It was cheap to insert and should be cheap to remove later.

There are still visibility issues with WebLocalFrameBase.h being used from core/. Stuart?

    To view, visit change 544726. To unsubscribe, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
    Gerrit-Change-Number: 544726
    Gerrit-PatchSet: 1
    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
    Gerrit-Comment-Date: Fri, 23 Jun 2017 04:03:11 +0000
    Gerrit-HasComments: No
    Gerrit-HasLabels: No

    Nicholas Verne (Gerrit)

    unread,
    Jun 23, 2017, 12:03:15 AM6/23/17
    to Stuart Langley, Kentaro Hara, Daniel Cheng, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org

    Nicholas Verne would like Stuart Langley, Kentaro Hara and Daniel Cheng to review this change.

    View Change

    Moves WebDevToolsAgentImpl to core.
    This required removing direct calls to modules/ agents.
    Instead, these agents register a callback from ModulesInitializer::Initialize

    Bug:712963
    Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
    ---
    M third_party/WebKit/Source/core/exported/BUILD.gn
    R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.cpp
    R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.h
    A third_party/WebKit/Source/core/exported/WebViewBase.cpp
    M third_party/WebKit/Source/core/exported/WebViewBase.h
    M third_party/WebKit/Source/core/inspector/BUILD.gn
    A third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp
    M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
    M third_party/WebKit/Source/modules/ModulesInitializer.cpp
    M third_party/WebKit/Source/web/BUILD.gn
    M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
    M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
    M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
    M third_party/WebKit/Source/web/WebViewImpl.cpp
    14 files changed, 138 insertions(+), 53 deletions(-)


    To view, visit change 544726. To unsubscribe, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: newchange

    Nicholas Verne (Gerrit)

    unread,
    Jun 23, 2017, 12:09:00 AM6/23/17
    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Daniel Cheng, Kentaro Hara, Stuart Langley, chromium...@chromium.org, devtools...@chromium.org

    Nicholas Verne posted comments on this change.

    View Change

    Patch set 1:Commit-Queue +1

      To view, visit change 544726. To unsubscribe, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
      Gerrit-Change-Number: 544726
      Gerrit-PatchSet: 1
      Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
      Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
      Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
      Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
      Gerrit-Comment-Date: Fri, 23 Jun 2017 04:08:56 +0000
      Gerrit-HasComments: No
      Gerrit-HasLabels: Yes

      Kentaro Hara (Gerrit)

      unread,
      Jun 23, 2017, 12:09:02 AM6/23/17
      to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Daniel Cheng, Stuart Langley, chromium...@chromium.org, devtools...@chromium.org

      Kentaro Hara posted comments on this change.

      View Change

      Patch set 1:

      Patch Set 1:

      There are problems I need help with in this CL:

      SessionInitCallbackArgs are using raw pointers to GC'd types. But to use Member<> means that the complete type must be known where this struct is declared. What do we usually have to do here?

      Member should not need a complete type. Either way it's fine to use a raw pointer in STACK_ALLOCATED objects.


      Also, we intend to move (eventually) WebDevToolsAgentImpl into controller/, which (IIUC) should be able to see modules/. Is the callback mechanism worth it? It was cheap to insert and should be cheap to remove later.

      There are still visibility issues with WebLocalFrameBase.h being used from core/. Stuart?

        To view, visit change 544726. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
        Gerrit-Change-Number: 544726
        Gerrit-PatchSet: 1
        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 04:08:58 +0000
        Gerrit-HasComments: No
        Gerrit-HasLabels: No

        Stuart Langley (Gerrit)

        unread,
        Jun 23, 2017, 12:22:20 AM6/23/17
        to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

        Stuart Langley posted comments on this change.

        View Change

        Patch set 1:

        > There are still visibility issues with WebLocalFrameBase.h being used from core/. Stuart?

        Should not warn you for code in core/exported - if it did we might have the DEPS rules wrong (I think sasha had a patch to fix that might not have landed yet)

          To view, visit change 544726. To unsubscribe, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
          Gerrit-Change-Number: 544726
          Gerrit-PatchSet: 1
          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-Comment-Date: Fri, 23 Jun 2017 04:22:16 +0000
          Gerrit-HasComments: No
          Gerrit-HasLabels: No

          Nicholas Verne (Gerrit)

          unread,
          Jun 23, 2017, 12:42:26 AM6/23/17
          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

          Nicholas Verne posted comments on this change.

          View Change

          Patch set 1:

          Patch Set 1:

          Patch Set 1:

          There are problems I need help with in this CL:

          SessionInitCallbackArgs are using raw pointers to GC'd types. But to use Member<> means that the complete type must be known where this struct is declared. What do we usually have to do here?

          Member should not need a complete type. Either way it's fine to use a raw pointer in STACK_ALLOCATED objects.


          Also, we intend to move (eventually) WebDevToolsAgentImpl into controller/, which (IIUC) should be able to see modules/. Is the callback mechanism worth it? It was cheap to insert and should be cheap to remove later.

          There are still visibility issues with WebLocalFrameBase.h being used from core/. Stuart?

          You are right. I confused myself by trying (during development) to make SessionInitArgs garbage collected.

            To view, visit change 544726. To unsubscribe, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: comment
            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
            Gerrit-Change-Number: 544726
            Gerrit-PatchSet: 1
            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-Comment-Date: Fri, 23 Jun 2017 04:42:22 +0000
            Gerrit-HasComments: No
            Gerrit-HasLabels: No

            Sasha Morrissey (Gerrit)

            unread,
            Jun 23, 2017, 12:52:14 AM6/23/17
            to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

            Sasha Morrissey posted comments on this change.

            View Change

            Patch set 2:Code-Review +1

            LGTM

            Yeah the DEPS fix is here - https://chromium-review.googlesource.com/c/542556/3/third_party/WebKit/Source/core/exported/DEPS

            Been trying to land this for 3 days :'( It'll get there eventually, I have other stuff blocked on it as well

              To view, visit change 544726. To unsubscribe, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
              Gerrit-Change-Number: 544726
              Gerrit-PatchSet: 2
              Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
              Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
              Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
              Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
              Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
              Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-Comment-Date: Fri, 23 Jun 2017 04:52:10 +0000
              Gerrit-HasComments: No
              Gerrit-HasLabels: Yes

              Nicholas Verne (Gerrit)

              unread,
              Jun 23, 2017, 1:48:06 AM6/23/17
              to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

              Nicholas Verne posted comments on this change.

              View Change

              Patch set 2:Commit-Queue +1

                To view, visit change 544726. To unsubscribe, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-MessageType: comment
                Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                Gerrit-Change-Number: 544726
                Gerrit-PatchSet: 2
                Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                Gerrit-CC: Commit Bot <commi...@chromium.org>
                Gerrit-Comment-Date: Fri, 23 Jun 2017 05:48:02 +0000
                Gerrit-HasComments: No
                Gerrit-HasLabels: Yes

                Nicholas Verne (Gerrit)

                unread,
                Jun 23, 2017, 1:48:20 AM6/23/17
                to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                Nicholas Verne posted comments on this change.

                View Change

                Patch set 2:

                Patch Set 1:

                Patch Set 1:

                There are problems I need help with in this CL:

                SessionInitCallbackArgs are using raw pointers to GC'd types. But to use Member<> means that the complete type must be known where this struct is declared. What do we usually have to do here?

                Member should not need a complete type. Either way it's fine to use a raw pointer in STACK_ALLOCATED objects.


                Also, we intend to move (eventually) WebDevToolsAgentImpl into controller/, which (IIUC) should be able to see modules/. Is the callback mechanism worth it? It was cheap to insert and should be cheap to remove later.

                There are still visibility issues with WebLocalFrameBase.h being used from core/. Stuart?

                PTAL

                  To view, visit change 544726. To unsubscribe, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: comment
                  Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                  Gerrit-Change-Number: 544726
                  Gerrit-PatchSet: 2
                  Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                  Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                  Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                  Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                  Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                  Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                  Gerrit-Comment-Date: Fri, 23 Jun 2017 05:48:17 +0000
                  Gerrit-HasComments: No
                  Gerrit-HasLabels: No

                  Nicholas Verne (Gerrit)

                  unread,
                  Jun 25, 2017, 8:12:53 PM6/25/17
                  to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                  Nicholas Verne posted comments on this change.

                  View Change

                  Patch set 3:Commit-Queue +1

                    To view, visit change 544726. To unsubscribe, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: comment
                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                    Gerrit-Change-Number: 544726
                    Gerrit-PatchSet: 3
                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                    Gerrit-Comment-Date: Mon, 26 Jun 2017 00:12:49 +0000
                    Gerrit-HasComments: No
                    Gerrit-HasLabels: Yes

                    Dmitry Gozman (Gerrit)

                    unread,
                    Jun 25, 2017, 8:42:03 PM6/25/17
                    to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                    Dmitry Gozman posted comments on this change.

                    View Change

                    Patch set 3:

                    (1 comment)

                    • Commit Message:

                      • Patch Set #3, Line 8: This required removing direct calls to modules/ agents.

                        Didn't we agree that abstracting this class from modules is against the strategy, since it should be in controller which depends on core+modules? Looks like something we are going to undo this work, so why do it now?

                    To view, visit change 544726. To unsubscribe, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: comment
                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                    Gerrit-Change-Number: 544726
                    Gerrit-PatchSet: 3
                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                    Gerrit-Comment-Date: Mon, 26 Jun 2017 00:42:01 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-HasLabels: No

                    Nicholas Verne (Gerrit)

                    unread,
                    Jun 25, 2017, 9:25:33 PM6/25/17
                    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                    Nicholas Verne posted comments on this change.

                    View Change

                    Patch set 3:

                    Patch Set 3:

                    (1 comment)

                    It would have been nice to go to that meeting.

                      To view, visit change 544726. To unsubscribe, visit settings.

                      Gerrit-Project: chromium/src
                      Gerrit-Branch: master
                      Gerrit-MessageType: comment
                      Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                      Gerrit-Change-Number: 544726
                      Gerrit-PatchSet: 3
                      Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                      Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                      Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                      Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                      Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                      Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                      Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                      Gerrit-Comment-Date: Mon, 26 Jun 2017 01:25:29 +0000
                      Gerrit-HasComments: No
                      Gerrit-HasLabels: No

                      Nicholas Verne (Gerrit)

                      unread,
                      Jun 25, 2017, 9:26:57 PM6/25/17
                      to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                      Nicholas Verne posted comments on this change.

                      View Change

                      Patch set 3:

                      I'll work up a CL that introduces src/controller/ and plumbs it into the various builds. This is quite a high risk CL (to a newbie like me) :-)

                        To view, visit change 544726. To unsubscribe, visit settings.

                        Gerrit-Project: chromium/src
                        Gerrit-Branch: master
                        Gerrit-MessageType: comment
                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                        Gerrit-Change-Number: 544726
                        Gerrit-PatchSet: 3
                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                        Gerrit-Comment-Date: Mon, 26 Jun 2017 01:26:52 +0000
                        Gerrit-HasComments: No
                        Gerrit-HasLabels: No

                        Nicholas Verne (Gerrit)

                        unread,
                        Jun 25, 2017, 9:51:07 PM6/25/17
                        to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                        Nicholas Verne posted comments on this change.

                        View Change

                        Patch set 3:Commit-Queue +1

                          To view, visit change 544726. To unsubscribe, visit settings.

                          Gerrit-Project: chromium/src
                          Gerrit-Branch: master
                          Gerrit-MessageType: comment
                          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                          Gerrit-Change-Number: 544726
                          Gerrit-PatchSet: 3
                          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                          Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                          Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                          Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                          Gerrit-Comment-Date: Mon, 26 Jun 2017 01:51:03 +0000
                          Gerrit-HasComments: No
                          Gerrit-HasLabels: Yes

                          Nicholas Verne (Gerrit)

                          unread,
                          Jun 26, 2017, 2:14:59 AM6/26/17
                          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                          Nicholas Verne posted comments on this change.

                          View Change

                          Patch set 4:Commit-Queue +1

                            To view, visit change 544726. To unsubscribe, visit settings.

                            Gerrit-Project: chromium/src
                            Gerrit-Branch: master
                            Gerrit-MessageType: comment
                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                            Gerrit-Change-Number: 544726
                            Gerrit-PatchSet: 4
                            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                            Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                            Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                            Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                            Gerrit-Comment-Date: Mon, 26 Jun 2017 06:14:55 +0000
                            Gerrit-HasComments: No
                            Gerrit-HasLabels: Yes

                            Nicholas Verne (Gerrit)

                            unread,
                            Jun 26, 2017, 2:46:01 AM6/26/17
                            to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Stuart Langley, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                            Nicholas Verne posted comments on this change.

                            View Change

                            Patch set 4:

                            After clarifying with slangley@ and sashab@ who were at the meeting.

                            • we will proceed with them move to core/ before moving back some files to controller/
                            • this is because the moves to controller/ won't just be file moves. In some cases, the classes will split into core and controller portions through inheritance or composition
                            • my attempt to create a controller/ directory first then move WebDevToolsAgent* there is far too heavyweight for a single CL because it requires refactoring of several classes as mentioned above, as well as setting up BUILD, DEPS, etc.

                            I still want to submit this CL.

                              To view, visit change 544726. To unsubscribe, visit settings.

                              Gerrit-Project: chromium/src
                              Gerrit-Branch: master
                              Gerrit-MessageType: comment
                              Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                              Gerrit-Change-Number: 544726
                              Gerrit-PatchSet: 4
                              Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                              Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                              Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                              Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                              Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                              Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                              Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                              Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                              Gerrit-Comment-Date: Mon, 26 Jun 2017 06:45:55 +0000
                              Gerrit-HasComments: No
                              Gerrit-HasLabels: No

                              Stuart Langley (Gerrit)

                              unread,
                              Jun 26, 2017, 3:21:36 AM6/26/17
                              to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Commit Bot, Kentaro Hara, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                              Stuart Langley posted comments on this change.

                              View Change

                              Patch set 4:

                              Patch Set 4:

                              After clarifying with slangley@ and sashab@ who were at the meeting.

                              • we will proceed with them move to core/ before moving back some files to controller/
                              • this is because the moves to controller/ won't just be file moves. In some cases, the classes will split into core and controller portions through inheritance or composition
                              • my attempt to create a controller/ directory first then move WebDevToolsAgent* there is far too heavyweight for a single CL because it requires refactoring of several classes as mentioned above, as well as setting up BUILD, DEPS, etc.

                              I still want to submit this CL.

                              +1

                              The SYD team will have Q3 OKRs for creating controller and start factoring controllers out of core/exported/ into the controller layer. There's also design work being undertaken to see if we can rationalize the modules constructor pattern, so the work here is really temporary and required to unblock the work that will end up creating and populating the control layer.

                                To view, visit change 544726. To unsubscribe, visit settings.

                                Gerrit-Project: chromium/src
                                Gerrit-Branch: master
                                Gerrit-MessageType: comment
                                Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                Gerrit-Change-Number: 544726
                                Gerrit-PatchSet: 4
                                Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                Gerrit-CC: Commit Bot <commi...@chromium.org>
                                Gerrit-Comment-Date: Mon, 26 Jun 2017 07:21:32 +0000
                                Gerrit-HasComments: No
                                Gerrit-HasLabels: No

                                Kentaro Hara (Gerrit)

                                unread,
                                Jun 26, 2017, 3:28:09 AM6/26/17
                                to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                Kentaro Hara posted comments on this change.

                                View Change

                                Patch set 4:

                                Patch Set 4:

                                Patch Set 4:

                                After clarifying with slangley@ and sashab@ who were at the meeting.

                                • we will proceed with them move to core/ before moving back some files to controller/
                                • this is because the moves to controller/ won't just be file moves. In some cases, the classes will split into core and controller portions through inheritance or composition
                                • my attempt to create a controller/ directory first then move WebDevToolsAgent* there is far too heavyweight for a single CL because it requires refactoring of several classes as mentioned above, as well as setting up BUILD, DEPS, etc.

                                I still want to submit this CL.

                                +1

                                The SYD team will have Q3 OKRs for creating controller and start factoring controllers out of core/exported/ into the controller layer. There's also design work being undertaken to see if we can rationalize the modules constructor pattern, so the work here is really temporary and required to unblock the work that will end up creating and populating the control layer.

                                Yeah, the plan sounds reasonable.

                                I don't want to make controller/ a "catch-all" directory, so I'd prefer not moving things in controller/ until the things are well split between the part for core/ and the part for controller/.

                                Also note that core/ cannot depend on core/exported/. Even if we move WebDevToosAgent* to core/exported/, that doesn't mean that core/ may start using it.

                                  To view, visit change 544726. To unsubscribe, visit settings.

                                  Gerrit-Project: chromium/src
                                  Gerrit-Branch: master
                                  Gerrit-MessageType: comment
                                  Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                  Gerrit-Change-Number: 544726
                                  Gerrit-PatchSet: 4
                                  Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                  Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                  Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                  Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                  Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                  Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                  Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                  Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                                  Gerrit-Comment-Date: Mon, 26 Jun 2017 07:28:03 +0000
                                  Gerrit-HasComments: No
                                  Gerrit-HasLabels: No

                                  Nicholas Verne (Gerrit)

                                  unread,
                                  Jun 26, 2017, 4:30:02 AM6/26/17
                                  to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                  Nicholas Verne posted comments on this change.

                                  View Change

                                  Patch set 5:Commit-Queue +1

                                    To view, visit change 544726. To unsubscribe, visit settings.

                                    Gerrit-Project: chromium/src
                                    Gerrit-Branch: master
                                    Gerrit-MessageType: comment
                                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                    Gerrit-Change-Number: 544726
                                    Gerrit-PatchSet: 5
                                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                    Gerrit-Comment-Date: Mon, 26 Jun 2017 08:29:58 +0000
                                    Gerrit-HasComments: No
                                    Gerrit-HasLabels: Yes

                                    Nicholas Verne (Gerrit)

                                    unread,
                                    Jun 26, 2017, 5:29:31 AM6/26/17
                                    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                    Nicholas Verne posted comments on this change.

                                    View Change

                                    Patch set 6:Commit-Queue +1

                                      To view, visit change 544726. To unsubscribe, visit settings.

                                      Gerrit-Project: chromium/src
                                      Gerrit-Branch: master
                                      Gerrit-MessageType: comment
                                      Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                      Gerrit-Change-Number: 544726
                                      Gerrit-PatchSet: 6
                                      Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                      Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                      Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                      Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                      Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                      Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                      Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                                      Gerrit-Comment-Date: Mon, 26 Jun 2017 09:29:27 +0000
                                      Gerrit-HasComments: No
                                      Gerrit-HasLabels: Yes

                                      Nicholas Verne (Gerrit)

                                      unread,
                                      Jun 26, 2017, 5:57:26 AM6/26/17
                                      to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Sasha Morrissey, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                      Nicholas Verne posted comments on this change.

                                      View Change

                                      Patch set 7:Commit-Queue +1

                                        To view, visit change 544726. To unsubscribe, visit settings.

                                        Gerrit-Project: chromium/src
                                        Gerrit-Branch: master
                                        Gerrit-MessageType: comment
                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                        Gerrit-Change-Number: 544726
                                        Gerrit-PatchSet: 7
                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                        Gerrit-Comment-Date: Mon, 26 Jun 2017 09:57:22 +0000
                                        Gerrit-HasComments: No
                                        Gerrit-HasLabels: Yes

                                        Sasha Morrissey (Gerrit)

                                        unread,
                                        Jun 26, 2017, 7:17:53 PM6/26/17
                                        to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                        Sasha Morrissey posted comments on this change.

                                        View Change

                                        Patch set 7:

                                        Patch Set 4:

                                        Patch Set 4:

                                        Patch Set 4:

                                        After clarifying with slangley@ and sashab@ who were at the meeting.

                                        • we will proceed with them move to core/ before moving back some files to controller/
                                        • this is because the moves to controller/ won't just be file moves. In some cases, the classes will split into core and controller portions through inheritance or composition
                                        • my attempt to create a controller/ directory first then move WebDevToolsAgent* there is far too heavyweight for a single CL because it requires refactoring of several classes as mentioned above, as well as setting up BUILD, DEPS, etc.

                                        I still want to submit this CL.

                                        +1

                                        The SYD team will have Q3 OKRs for creating controller and start factoring controllers out of core/exported/ into the controller layer. There's also design work being undertaken to see if we can rationalize the modules constructor pattern, so the work here is really temporary and required to unblock the work that will end up creating and populating the control layer.

                                        Yeah, the plan sounds reasonable.

                                        I don't want to make controller/ a "catch-all" directory, so I'd prefer not moving things in controller/ until the things are well split between the part for core/ and the part for controller/.

                                        Also note that core/ cannot depend on core/exported/. Even if we move WebDevToosAgent* to core/exported/, that doesn't mean that core/ may start using it.

                                        +1, this matches my understanding of the plan forward too.

                                          To view, visit change 544726. To unsubscribe, visit settings.

                                          Gerrit-Project: chromium/src
                                          Gerrit-Branch: master
                                          Gerrit-MessageType: comment
                                          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                          Gerrit-Change-Number: 544726
                                          Gerrit-PatchSet: 7
                                          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                          Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                          Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                          Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                                          Gerrit-Comment-Date: Mon, 26 Jun 2017 23:17:49 +0000
                                          Gerrit-HasComments: No
                                          Gerrit-HasLabels: No

                                          Nicholas Verne (Gerrit)

                                          unread,
                                          Jun 26, 2017, 9:11:23 PM6/26/17
                                          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                          Nicholas Verne posted comments on this change.

                                          View Change

                                          Patch set 9:Commit-Queue +1

                                            To view, visit change 544726. To unsubscribe, visit settings.

                                            Gerrit-Project: chromium/src
                                            Gerrit-Branch: master
                                            Gerrit-MessageType: comment
                                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                            Gerrit-Change-Number: 544726
                                            Gerrit-PatchSet: 9
                                            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                            Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                            Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                            Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                                            Gerrit-Comment-Date: Tue, 27 Jun 2017 01:11:19 +0000
                                            Gerrit-HasComments: No
                                            Gerrit-HasLabels: Yes

                                            Nicholas Verne (Gerrit)

                                            unread,
                                            Jun 27, 2017, 2:09:27 AM6/27/17
                                            to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                            Nicholas Verne posted comments on this change.

                                            View Change

                                            Patch set 10:Commit-Queue +1

                                              To view, visit change 544726. To unsubscribe, visit settings.

                                              Gerrit-Project: chromium/src
                                              Gerrit-Branch: master
                                              Gerrit-MessageType: comment
                                              Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                              Gerrit-Change-Number: 544726
                                              Gerrit-PatchSet: 10
                                              Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                              Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                              Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                              Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                              Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                              Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                              Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                              Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                                              Gerrit-Comment-Date: Tue, 27 Jun 2017 06:09:21 +0000
                                              Gerrit-HasComments: No
                                              Gerrit-HasLabels: Yes

                                              Nicholas Verne (Gerrit)

                                              unread,
                                              Jun 27, 2017, 2:49:15 AM6/27/17
                                              to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Kentaro Hara, Stuart Langley, Dmitry Gozman, Pavel Feldman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                              Nicholas Verne posted comments on this change.

                                              View Change

                                              Patch set 11:Commit-Queue +1

                                                To view, visit change 544726. To unsubscribe, visit settings.

                                                Gerrit-Project: chromium/src
                                                Gerrit-Branch: master
                                                Gerrit-MessageType: comment
                                                Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                Gerrit-Change-Number: 544726
                                                Gerrit-PatchSet: 11
                                                Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                Gerrit-Comment-Date: Tue, 27 Jun 2017 06:49:11 +0000
                                                Gerrit-HasComments: No
                                                Gerrit-HasLabels: Yes

                                                Pavel Feldman (Gerrit)

                                                unread,
                                                Jun 27, 2017, 1:50:43 PM6/27/17
                                                to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Sasha Morrissey, Kentaro Hara, Stuart Langley, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                Pavel Feldman posted comments on this change.

                                                View Change

                                                Patch set 11:Code-Review -1

                                                As a core/ owner and DevTools code owner, I don't think this move is appropriate course of action. This class needs to stay in web/ being re-targeted to become controller/ as agreed on the meeting. What differs it from the other classes being moved from web/ to core/exported is the /modules dependency: in this case InspectorAgent gets explicit callback hook for modules for reversing the dependency. This contradicts the spirit of Daniel's summary statement from the discussion.

                                                My position stays the same: moving web/ to core/exported is artificial and does not add value. The team admits that the meaningful follow up is scheduled for Q3, which I think we could started with. Steps that have no value should not be taken or should be taken with minimal damage. Simply moving web/ to core/exported could be considered minimal damage, but mixing modules deps into the picture should not be.

                                                  To view, visit change 544726. To unsubscribe, visit settings.

                                                  Gerrit-Project: chromium/src
                                                  Gerrit-Branch: master
                                                  Gerrit-MessageType: comment
                                                  Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                  Gerrit-Change-Number: 544726
                                                  Gerrit-PatchSet: 11
                                                  Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                  Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                  Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                  Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                  Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                  Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                  Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                  Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                  Gerrit-Comment-Date: Tue, 27 Jun 2017 17:50:37 +0000
                                                  Gerrit-HasComments: No
                                                  Gerrit-HasLabels: Yes

                                                  Nicholas Verne (Gerrit)

                                                  unread,
                                                  Jun 27, 2017, 9:11:16 PM6/27/17
                                                  to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Sasha Morrissey, Kentaro Hara, Stuart Langley, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                  Nicholas Verne posted comments on this change.

                                                  View Change

                                                  Patch set 12:

                                                  Patch Set 11: Code-Review-1

                                                  As a core/ owner and DevTools code owner, I don't think this move is appropriate course of action. This class needs to stay in web/ being re-targeted to become controller/ as agreed on the meeting. What differs it from the other classes being moved from web/ to core/exported is the /modules dependency: in this case InspectorAgent gets explicit callback hook for modules for reversing the dependency. This contradicts the spirit of Daniel's summary statement from the discussion.

                                                  My position stays the same: moving web/ to core/exported is artificial and does not add value. The team admits that the meaningful follow up is scheduled for Q3, which I think we could started with. Steps that have no value should not be taken or should be taken with minimal damage. Simply moving web/ to core/exported could be considered minimal damage, but mixing modules deps into the picture should not be.

                                                  "This contradicts the spirit of Daniel's summary statement from the discussion."

                                                  Care to share it with me?

                                                  "Steps that have no value should not be taken or should be taken with minimal damage. Simply moving web/ to core/exported could be considered minimal damage, but mixing modules deps into the picture should not be."

                                                  That's a matter of opinion, and I don't agree FWIW. However, since your position is one of uncompromising obstruction ( ;-) </joke>), would you care to take a look at https://chromium-review.googlesource.com/c/547379/6

                                                    To view, visit change 544726. To unsubscribe, visit settings.

                                                    Gerrit-Project: chromium/src
                                                    Gerrit-Branch: master
                                                    Gerrit-MessageType: comment
                                                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                    Gerrit-Change-Number: 544726
                                                    Gerrit-PatchSet: 12
                                                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                    Gerrit-Comment-Date: Wed, 28 Jun 2017 01:11:10 +0000
                                                    Gerrit-HasComments: No
                                                    Gerrit-HasLabels: No

                                                    Kentaro Hara (Gerrit)

                                                    unread,
                                                    Jun 27, 2017, 9:30:13 PM6/27/17
                                                    to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Sasha Morrissey, Stuart Langley, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                    Kentaro Hara posted comments on this change.

                                                    View Change

                                                    Patch set 12:

                                                    Pavel: Do you think all the code in WebDevToolsAgentImpl should live in controller/ in the end? If yes, I agree that we should move it to controller/ now. If no, I'd prefer moving it to core/exported/ and then move the controller part to controller/. I'd like to avoid making controller/ a "catch-all" directory.

                                                      To view, visit change 544726. To unsubscribe, visit settings.

                                                      Gerrit-Project: chromium/src
                                                      Gerrit-Branch: master
                                                      Gerrit-MessageType: comment
                                                      Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                      Gerrit-Change-Number: 544726
                                                      Gerrit-PatchSet: 12
                                                      Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                      Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                      Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                      Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                      Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                      Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                      Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                      Gerrit-Comment-Date: Wed, 28 Jun 2017 01:30:09 +0000
                                                      Gerrit-HasComments: No
                                                      Gerrit-HasLabels: No

                                                      Stuart Langley (Gerrit)

                                                      unread,
                                                      Jul 2, 2017, 11:58:20 PM7/2/17
                                                      to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                      Stuart Langley posted comments on this change.

                                                      View Change

                                                      Patch set 12:

                                                      Patch Set 12:

                                                      Pavel: Do you think all the code in WebDevToolsAgentImpl should live in controller/ in the end? If yes, I agree that we should move it to controller/ now. If no, I'd prefer moving it to core/exported/ and then move the controller part to controller/. I'd like to avoid making controller/ a "catch-all" directory.

                                                      Note: WDTAI relies on LocalFrameClientImpl to break layering encapsulation to allow core/ to call WDTAI - so presumably this needs some kind of fix.

                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                        Gerrit-Project: chromium/src
                                                        Gerrit-Branch: master
                                                        Gerrit-MessageType: comment
                                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                        Gerrit-Change-Number: 544726
                                                        Gerrit-PatchSet: 12
                                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                        Gerrit-Comment-Date: Mon, 03 Jul 2017 03:58:14 +0000
                                                        Gerrit-HasComments: No
                                                        Gerrit-HasLabels: No

                                                        Nicholas Verne (Gerrit)

                                                        unread,
                                                        Jul 4, 2017, 12:52:17 AM7/4/17
                                                        to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Kentaro Hara, Pavel Feldman, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                        Nicholas Verne abandoned this change.

                                                        View Change

                                                        Abandoned pfeldman forbids it.

                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                        Gerrit-Project: chromium/src
                                                        Gerrit-Branch: master
                                                        Gerrit-MessageType: abandon

                                                        Nicholas Verne (Gerrit)

                                                        unread,
                                                        Jul 13, 2017, 2:17:00 AM7/13/17
                                                        to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Kentaro Hara, Pavel Feldman, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                        Nicholas Verne restored this change.

                                                        View Change

                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                        Gerrit-Project: chromium/src
                                                        Gerrit-Branch: master
                                                        Gerrit-MessageType: restore

                                                        Pavel Feldman (Gerrit)

                                                        unread,
                                                        Jul 14, 2017, 2:42:30 AM7/14/17
                                                        to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Stuart Langley, Kentaro Hara, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                        Pavel Feldman posted comments on this change.

                                                        View Change

                                                        Patch set 13:-Code-Review

                                                        (1 comment)

                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                        Gerrit-Project: chromium/src
                                                        Gerrit-Branch: master
                                                        Gerrit-MessageType: comment
                                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                        Gerrit-Change-Number: 544726
                                                        Gerrit-PatchSet: 13
                                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                        Gerrit-Comment-Date: Fri, 14 Jul 2017 06:42:28 +0000
                                                        Gerrit-HasComments: Yes
                                                        Gerrit-HasLabels: Yes

                                                        Kentaro Hara (Gerrit)

                                                        unread,
                                                        Jul 14, 2017, 1:31:33 PM7/14/17
                                                        to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                        Kentaro Hara posted comments on this change.

                                                        View Change

                                                        Patch set 13:

                                                        Mostly looks good.

                                                        (5 comments)

                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                        Gerrit-Project: chromium/src
                                                        Gerrit-Branch: master
                                                        Gerrit-MessageType: comment
                                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                        Gerrit-Change-Number: 544726
                                                        Gerrit-PatchSet: 13
                                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                        Gerrit-Comment-Date: Fri, 14 Jul 2017 17:31:26 +0000
                                                        Gerrit-HasComments: Yes
                                                        Gerrit-HasLabels: No

                                                        Nicholas Verne (Gerrit)

                                                        unread,
                                                        Jul 14, 2017, 8:45:27 PM7/14/17
                                                        to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                        Nicholas Verne posted comments on this change.

                                                        View Change

                                                        Patch set 15:Commit-Queue +1

                                                          To view, visit change 544726. To unsubscribe, visit settings.

                                                          Gerrit-Project: chromium/src
                                                          Gerrit-Branch: master
                                                          Gerrit-MessageType: comment
                                                          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                          Gerrit-Change-Number: 544726
                                                          Gerrit-PatchSet: 15
                                                          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                          Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                          Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                          Gerrit-Comment-Date: Sat, 15 Jul 2017 00:45:22 +0000
                                                          Gerrit-HasComments: No
                                                          Gerrit-HasLabels: Yes

                                                          Nicholas Verne (Gerrit)

                                                          unread,
                                                          Jul 14, 2017, 8:48:58 PM7/14/17
                                                          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                          Nicholas Verne posted comments on this change.

                                                          View Change

                                                          Patch set 15:

                                                          (6 comments)

                                                            • Patch Set #13, Line 386: InspectorAgent::CallSessionInitCallbacks(session, &session_init_args);

                                                              Nit: Instead of passing InspectorAgent::SessionInitArgs, I'd prefer simply

                                                            • Please add a FIXME with the link to the bug that explains how this is going

                                                            • IIRC without this I got failures in the Windows builds. Now there's real code for WebViewBase statics in another lib.

                                                          To view, visit change 544726. To unsubscribe, visit settings.

                                                          Gerrit-Project: chromium/src
                                                          Gerrit-Branch: master
                                                          Gerrit-MessageType: comment
                                                          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                          Gerrit-Change-Number: 544726
                                                          Gerrit-PatchSet: 15
                                                          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                          Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                          Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                          Gerrit-Comment-Date: Sat, 15 Jul 2017 00:48:52 +0000
                                                          Gerrit-HasComments: Yes
                                                          Gerrit-HasLabels: No

                                                          Kentaro Hara (Gerrit)

                                                          unread,
                                                          Jul 14, 2017, 10:43:47 PM7/14/17
                                                          to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                          Kentaro Hara posted comments on this change.

                                                          View Change

                                                          Patch set 15:

                                                          Please fix the format of the CL description :)

                                                          (2 comments)

                                                            • Ack. There are 4 parameters (.page too). But we intend to delete this code

                                                              It's not really common in Blink to use a struct to pass a couple of parameters to one function.

                                                              Even if the code is tentative, we should avoid not land half-baked code on ToT.

                                                          • File third_party/WebKit/Source/core/exported/WebViewBase.cpp:

                                                            • WebDevToolsAgentImpl makes use of AllInstances. While I was making WebViewB

                                                              Yeah, that sounds nicer.

                                                          To view, visit change 544726. To unsubscribe, visit settings.

                                                          Gerrit-Project: chromium/src
                                                          Gerrit-Branch: master
                                                          Gerrit-MessageType: comment
                                                          Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                          Gerrit-Change-Number: 544726
                                                          Gerrit-PatchSet: 15
                                                          Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                          Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                          Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                          Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                          Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                          Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                          Gerrit-Comment-Date: Sat, 15 Jul 2017 02:43:37 +0000
                                                          Gerrit-HasComments: Yes
                                                          Gerrit-HasLabels: No

                                                          Nicholas Verne (Gerrit)

                                                          unread,
                                                          Jul 15, 2017, 12:16:59 AM7/15/17
                                                          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                          Nicholas Verne posted comments on this change.

                                                          View Change

                                                          Patch set 16:Commit-Queue +1

                                                            To view, visit change 544726. To unsubscribe, visit settings.

                                                            Gerrit-Project: chromium/src
                                                            Gerrit-Branch: master
                                                            Gerrit-MessageType: comment
                                                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                            Gerrit-Change-Number: 544726
                                                            Gerrit-PatchSet: 16
                                                            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                            Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                            Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                            Gerrit-Comment-Date: Sat, 15 Jul 2017 04:16:55 +0000
                                                            Gerrit-HasComments: No
                                                            Gerrit-HasLabels: Yes

                                                            Nicholas Verne (Gerrit)

                                                            unread,
                                                            Jul 15, 2017, 2:40:32 AM7/15/17
                                                            to Dmitry Gozman, Sasha Morrissey, Stuart Langley, Kentaro Hara, Pavel Feldman, Daniel Cheng, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, Commit Bot

                                                            Nicholas Verne uploaded patch set #19 to this change.

                                                            View Change

                                                            Moves WebDevToolsAgentImpl to core.

                                                            WebDevToolsAgentImpl uses many InspectorAgents that are implemented in modules/.
                                                            To enable these agents' use from core/ we now register a callback from
                                                            ModulesInitializer::Initialize that can append the modules/ InspectorAgents
                                                            to an InspectorSession.

                                                            Since WebDevToolsAgentImpl needs to use static methods of WebView and
                                                            WebViewBase directly, these need to be availble in core/ as well. We created
                                                            WebViewBase.cpp and moved the definitions there. Also, to keep Windows happy
                                                            WebViewBase is now a NON_EXPORTED_BASE of WebViewImpl, since there is now
                                                            code for WebViewBase static methods in different library and Windows otherwise
                                                            fails to link
                                                            warning C4275: non dll-interface class 'blink::WebViewBase' used as base for
                                                            dll-interface class 'blink::WebViewImpl'

                                                            Bug:712963
                                                            Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                            ---
                                                            M third_party/WebKit/Source/core/exported/BUILD.gn
                                                            R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.cpp
                                                            R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.h
                                                            A third_party/WebKit/Source/core/exported/WebViewBase.cpp
                                                            M third_party/WebKit/Source/core/exported/WebViewBase.h
                                                            M third_party/WebKit/Source/core/inspector/BUILD.gn
                                                            A third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp
                                                            M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
                                                            M third_party/WebKit/Source/modules/ModulesInitializer.cpp
                                                            M third_party/WebKit/Source/web/BUILD.gn
                                                            M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
                                                            M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
                                                            M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
                                                            M third_party/WebKit/Source/web/WebViewImpl.cpp
                                                            14 files changed, 147 insertions(+), 61 deletions(-)

                                                            To view, visit change 544726. To unsubscribe, visit settings.

                                                            Gerrit-Project: chromium/src
                                                            Gerrit-Branch: master
                                                            Gerrit-MessageType: newpatchset
                                                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                            Gerrit-Change-Number: 544726
                                                            Gerrit-PatchSet: 19

                                                            Nicholas Verne (Gerrit)

                                                            unread,
                                                            Jul 15, 2017, 2:40:58 AM7/15/17
                                                            to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                            Nicholas Verne posted comments on this change.

                                                            View Change

                                                            Patch set 19:

                                                            (1 comment)

                                                              • IIRC without this I got failures in the Windows builds. Now there's real co

                                                                Without NON_EXPORTED_BASE (which just suppresses the warning), you get
                                                                ../../third_party/WebKit/Source\web/WebViewImpl.h(101): warning C4275: non dll-interface class 'blink::WebViewBase' used as base for dll-interface class 'blink::WebViewImpl'

                                                                i.e. if you export a class, you need to export its bases if there is actual code in the base class (e.g. static functions) coming from another dll (in this case, core/). Since AllInstances had to move to core/, it became necessary.

                                                            To view, visit change 544726. To unsubscribe, visit settings.

                                                            Gerrit-Project: chromium/src
                                                            Gerrit-Branch: master
                                                            Gerrit-MessageType: comment
                                                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                            Gerrit-Change-Number: 544726
                                                            Gerrit-PatchSet: 19
                                                            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                            Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                            Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                            Gerrit-Comment-Date: Sat, 15 Jul 2017 06:40:52 +0000
                                                            Gerrit-HasComments: Yes
                                                            Gerrit-HasLabels: No

                                                            Nicholas Verne (Gerrit)

                                                            unread,
                                                            Jul 15, 2017, 2:57:31 AM7/15/17
                                                            to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                            Nicholas Verne posted comments on this change.

                                                            View Change

                                                            Patch set 19:

                                                            (1 comment)

                                                              • It's not really common in Blink to use a struct to pass a couple of paramet

                                                                Interesting. I always found long parameter lists more error prone, especially when you
                                                                can't name the params in the callback typedef.

                                                                e.g. using Callback = void(int, int, int, bool, bool)
                                                                allows me to pass the wrong parameter in the wrong position without noticing. I've seen a number of long-standing, subtle bugs from this in other projects. I'm far less likely to make a mistake if the params are in a struct with sensible names. I can even set the members in any order and still know the code will be correct.

                                                            To view, visit change 544726. To unsubscribe, visit settings.

                                                            Gerrit-Project: chromium/src
                                                            Gerrit-Branch: master
                                                            Gerrit-MessageType: comment
                                                            Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                            Gerrit-Change-Number: 544726
                                                            Gerrit-PatchSet: 19
                                                            Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                            Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                            Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                            Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                            Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                            Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                            Gerrit-Comment-Date: Sat, 15 Jul 2017 06:57:25 +0000
                                                            Gerrit-HasComments: Yes
                                                            Gerrit-HasLabels: No

                                                            Nicholas Verne (Gerrit)

                                                            unread,
                                                            Jul 15, 2017, 3:27:16 AM7/15/17
                                                            to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                            Nicholas Verne posted comments on this change.

                                                            View Change

                                                            Patch set 20:Commit-Queue +2

                                                              To view, visit change 544726. To unsubscribe, visit settings.

                                                              Gerrit-Project: chromium/src
                                                              Gerrit-Branch: master
                                                              Gerrit-MessageType: comment
                                                              Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                              Gerrit-Change-Number: 544726
                                                              Gerrit-PatchSet: 20
                                                              Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                              Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                              Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                              Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                              Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                              Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                              Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                              Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                              Gerrit-Comment-Date: Sat, 15 Jul 2017 07:27:11 +0000
                                                              Gerrit-HasComments: No
                                                              Gerrit-HasLabels: Yes

                                                              Commit Bot (Gerrit)

                                                              unread,
                                                              Jul 15, 2017, 3:27:28 AM7/15/17
                                                              to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                              Commit Bot posted comments on this change.

                                                              View Change

                                                              Patch set 20:

                                                              CQ is trying da patch.

                                                              Note: The patchset sent to CQ was uploaded after this CL was approved.
                                                              "No SessionInitArgs" https://chromium-review.googlesource.com/c/544726/20

                                                              Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/544726/20

                                                              Bot data: {"action": "start", "triggered_at": "2017-07-15T07:27:11.0Z", "cq_cfg_revision": "63e34448474381620aa6fce8c68b7f2c4ced7b75", "revision": "ab57b7532e64626b0c60d75d7bad3954d9f96255"}

                                                                To view, visit change 544726. To unsubscribe, visit settings.

                                                                Gerrit-Project: chromium/src
                                                                Gerrit-Branch: master
                                                                Gerrit-MessageType: comment
                                                                Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                Gerrit-Change-Number: 544726
                                                                Gerrit-PatchSet: 20
                                                                Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                Gerrit-Comment-Date: Sat, 15 Jul 2017 07:27:25 +0000
                                                                Gerrit-HasComments: No
                                                                Gerrit-HasLabels: No

                                                                Commit Bot (Gerrit)

                                                                unread,
                                                                Jul 15, 2017, 3:36:00 AM7/15/17
                                                                to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                Commit Bot posted comments on this change.

                                                                View Change

                                                                Patch set 20:

                                                                Try jobs failed on following builders:
                                                                chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/490700)

                                                                Bot data: {"action": "cancel", "triggered_at": "2017-07-15T07:27:11.0Z", "cq_cfg_revision": "63e34448474381620aa6fce8c68b7f2c4ced7b75", "revision": "ab57b7532e64626b0c60d75d7bad3954d9f96255"}

                                                                  To view, visit change 544726. To unsubscribe, visit settings.

                                                                  Gerrit-Project: chromium/src
                                                                  Gerrit-Branch: master
                                                                  Gerrit-MessageType: comment
                                                                  Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                  Gerrit-Change-Number: 544726
                                                                  Gerrit-PatchSet: 20
                                                                  Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                  Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                  Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                  Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                  Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                  Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                  Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                  Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                  Gerrit-Comment-Date: Sat, 15 Jul 2017 07:35:58 +0000
                                                                  Gerrit-HasComments: No
                                                                  Gerrit-HasLabels: No

                                                                  Nicholas Verne (Gerrit)

                                                                  unread,
                                                                  Jul 15, 2017, 3:45:59 AM7/15/17
                                                                  to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                  Nicholas Verne posted comments on this change.

                                                                  View Change

                                                                  Patch set 20:Commit-Queue +1

                                                                    To view, visit change 544726. To unsubscribe, visit settings.

                                                                    Gerrit-Project: chromium/src
                                                                    Gerrit-Branch: master
                                                                    Gerrit-MessageType: comment
                                                                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                    Gerrit-Change-Number: 544726
                                                                    Gerrit-PatchSet: 20
                                                                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                    Gerrit-Comment-Date: Sat, 15 Jul 2017 07:45:54 +0000
                                                                    Gerrit-HasComments: No
                                                                    Gerrit-HasLabels: Yes

                                                                    Kentaro Hara (Gerrit)

                                                                    unread,
                                                                    Jul 15, 2017, 2:55:03 PM7/15/17
                                                                    to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                    Kentaro Hara posted comments on this change.

                                                                    View Change

                                                                    Patch set 20:Code-Review +1

                                                                    LGTM

                                                                    (2 comments)

                                                                    To view, visit change 544726. To unsubscribe, visit settings.

                                                                    Gerrit-Project: chromium/src
                                                                    Gerrit-Branch: master
                                                                    Gerrit-MessageType: comment
                                                                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                    Gerrit-Change-Number: 544726
                                                                    Gerrit-PatchSet: 20
                                                                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                    Gerrit-Comment-Date: Sat, 15 Jul 2017 18:54:59 +0000
                                                                    Gerrit-HasComments: Yes
                                                                    Gerrit-HasLabels: Yes

                                                                    Nicholas Verne (Gerrit)

                                                                    unread,
                                                                    Jul 15, 2017, 7:11:52 PM7/15/17
                                                                    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                    Nicholas Verne posted comments on this change.

                                                                    View Change

                                                                    Patch set 21:

                                                                    (2 comments)

                                                                      • Use raw pointers (instead of Members) for on-stack pointers.

                                                                    To view, visit change 544726. To unsubscribe, visit settings.

                                                                    Gerrit-Project: chromium/src
                                                                    Gerrit-Branch: master
                                                                    Gerrit-MessageType: comment
                                                                    Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                    Gerrit-Change-Number: 544726
                                                                    Gerrit-PatchSet: 21
                                                                    Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                    Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                    Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                    Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                    Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                    Gerrit-Comment-Date: Sat, 15 Jul 2017 23:11:46 +0000
                                                                    Gerrit-HasComments: Yes
                                                                    Gerrit-HasLabels: No

                                                                    Nicholas Verne (Gerrit)

                                                                    unread,
                                                                    Jul 15, 2017, 7:11:57 PM7/15/17
                                                                    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Commit Bot, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                    Nicholas Verne posted comments on this change.

                                                                    View Change

                                                                    Patch set 21:Commit-Queue +2

                                                                      To view, visit change 544726. To unsubscribe, visit settings.

                                                                      Gerrit-Project: chromium/src
                                                                      Gerrit-Branch: master
                                                                      Gerrit-MessageType: comment
                                                                      Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                      Gerrit-Change-Number: 544726
                                                                      Gerrit-PatchSet: 21
                                                                      Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                      Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                      Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                      Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                      Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                      Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                      Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                      Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                      Gerrit-Comment-Date: Sat, 15 Jul 2017 23:11:53 +0000
                                                                      Gerrit-HasComments: No
                                                                      Gerrit-HasLabels: Yes

                                                                      Commit Bot (Gerrit)

                                                                      unread,
                                                                      Jul 15, 2017, 7:12:09 PM7/15/17
                                                                      to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                      Commit Bot posted comments on this change.

                                                                      View Change

                                                                      Patch set 21:

                                                                      CQ is trying da patch.

                                                                      Note: The patchset sent to CQ was uploaded after this CL was approved.

                                                                      "one more Member" https://chromium-review.googlesource.com/c/544726/21

                                                                      Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/544726/21

                                                                      Bot data: {"action": "start", "triggered_at": "2017-07-15T23:11:53.0Z", "cq_cfg_revision": "63e34448474381620aa6fce8c68b7f2c4ced7b75", "revision": "567502261014c2a1cd263f792d41af3d3e48e171"}

                                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                                        Gerrit-Project: chromium/src
                                                                        Gerrit-Branch: master
                                                                        Gerrit-MessageType: comment
                                                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                        Gerrit-Change-Number: 544726
                                                                        Gerrit-PatchSet: 21
                                                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                                        Gerrit-Comment-Date: Sat, 15 Jul 2017 23:12:04 +0000
                                                                        Gerrit-HasComments: No
                                                                        Gerrit-HasLabels: No

                                                                        Commit Bot (Gerrit)

                                                                        unread,
                                                                        Jul 15, 2017, 11:34:48 PM7/15/17
                                                                        to Nicholas Verne, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kinuko...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, mlamouri+w...@chromium.org, pfeldma...@chromium.org, platform-architect...@chromium.org, Kentaro Hara, Pavel Feldman, Stuart Langley, Sasha Morrissey, Dmitry Gozman, Daniel Cheng, chromium...@chromium.org, devtools...@chromium.org

                                                                        Commit Bot merged this change.

                                                                        View Change

                                                                        Approvals: Kentaro Hara: Looks good to me Sasha Morrissey: Looks good to me Nicholas Verne: Commit
                                                                        Moves WebDevToolsAgentImpl to core.

                                                                        WebDevToolsAgentImpl uses many InspectorAgents that are implemented in modules/.
                                                                        To enable these agents' use from core/ we now register a callback from
                                                                        ModulesInitializer::Initialize that can append the modules/ InspectorAgents
                                                                        to an InspectorSession.

                                                                        Since WebDevToolsAgentImpl needs to use static methods of WebView and
                                                                        WebViewBase directly, these need to be availble in core/ as well. We created
                                                                        WebViewBase.cpp and moved the definitions there. Also, to keep Windows happy
                                                                        WebViewBase is now a NON_EXPORTED_BASE of WebViewImpl, since there is now
                                                                        code for WebViewBase static methods in different library and Windows otherwise
                                                                        fails to link
                                                                        warning C4275: non dll-interface class 'blink::WebViewBase' used as base for
                                                                        dll-interface class 'blink::WebViewImpl'

                                                                        Bug: 712963
                                                                        Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                        Reviewed-on: https://chromium-review.googlesource.com/544726
                                                                        Commit-Queue: Nicholas Verne <nve...@chromium.org>
                                                                        Reviewed-by: Kentaro Hara <har...@chromium.org>
                                                                        Reviewed-by: Sasha Morrissey <sas...@chromium.org>
                                                                        Cr-Commit-Position: refs/heads/master@{#487003}

                                                                        ---
                                                                        M third_party/WebKit/Source/core/exported/BUILD.gn
                                                                        R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.cpp
                                                                        R third_party/WebKit/Source/core/exported/WebDevToolsAgentImpl.h
                                                                        A third_party/WebKit/Source/core/exported/WebViewBase.cpp
                                                                        M third_party/WebKit/Source/core/exported/WebViewBase.h
                                                                        M third_party/WebKit/Source/core/inspector/BUILD.gn
                                                                        A third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp
                                                                        M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
                                                                        M third_party/WebKit/Source/modules/ModulesInitializer.cpp
                                                                        M third_party/WebKit/Source/web/BUILD.gn
                                                                        M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
                                                                        M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
                                                                        M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
                                                                        M third_party/WebKit/Source/web/WebViewImpl.cpp
                                                                        14 files changed, 143 insertions(+), 61 deletions(-)


                                                                        To view, visit change 544726. To unsubscribe, visit settings.

                                                                        Gerrit-Project: chromium/src
                                                                        Gerrit-Branch: master
                                                                        Gerrit-MessageType: merged
                                                                        Gerrit-Change-Id: I9159327618118b2a2f652ed15a76271040b5bc30
                                                                        Gerrit-Change-Number: 544726
                                                                        Gerrit-PatchSet: 22
                                                                        Gerrit-Owner: Nicholas Verne <nve...@chromium.org>
                                                                        Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                                                                        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
                                                                        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
                                                                        Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
                                                                        Gerrit-Reviewer: Nicholas Verne <nve...@chromium.org>
                                                                        Gerrit-Reviewer: Pavel Feldman <pfel...@chromium.org>
                                                                        Gerrit-Reviewer: Sasha Morrissey <sas...@chromium.org>
                                                                        Gerrit-Reviewer: Stuart Langley <slan...@chromium.org>
                                                                        Reply all
                                                                        Reply to author
                                                                        Forward
                                                                        0 new messages