Moving ResolvedSearchTerm and ContextualSearchContext to components. [chromium/src : main]

0 views
Skip to first unread message

Josh Simmons (Gerrit)

unread,
Jun 28, 2022, 2:36:54 PM6/28/22
to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Donn Denman, chromium...@chromium.org

Attention is currently required from: Donn Denman.

Patch set 4:Commit-Queue +1

View Change

1 comment:

  • Patchset:

    • Patch Set #4:

      Hi Donn! Here's a start on the process of making Contextual Search available on Desktop. Please take a look when you have a chance and let me know if you have any questions or concerns :)

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
Gerrit-Change-Number: 3732755
Gerrit-PatchSet: 4
Gerrit-Owner: Josh Simmons <j...@google.com>
Gerrit-Reviewer: Donn Denman <do...@chromium.org>
Gerrit-Reviewer: Josh Simmons <j...@google.com>
Gerrit-Attention: Donn Denman <do...@chromium.org>
Gerrit-Comment-Date: Tue, 28 Jun 2022 18:36:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

Donn Denman (Gerrit)

unread,
Jun 28, 2022, 2:44:45 PM6/28/22
to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Josh Simmons.

View Change

2 comments:

  • Patchset:

    • Patch Set #4:

      Josh, I'm really excited to see this progress!

      You should add Gang as a reviewer since he's the new owner of this code.
      I would also add bttk@ as an FYI reviewer.

      I have to run but wanted to send some quick feedback - I've not looked at the refactoring of the CSContext yet.

  • File chrome/browser/android/contextualsearch/native_contextual_search_context.h:

    • Patch Set #4, Line 1: // Copyright 2015 The Chromium Authors. All rights reserved.

      I'm unsure whether this should be updated to 2022.
      Is this a pure move or are there edits?

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
Gerrit-Change-Number: 3732755
Gerrit-PatchSet: 4
Gerrit-Owner: Josh Simmons <j...@google.com>
Gerrit-Reviewer: Donn Denman <do...@chromium.org>
Gerrit-Reviewer: Josh Simmons <j...@google.com>
Gerrit-Attention: Josh Simmons <j...@google.com>
Gerrit-Comment-Date: Tue, 28 Jun 2022 18:44:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Josh Simmons (Gerrit)

unread,
Jun 28, 2022, 7:19:08 PM6/28/22
to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

Attention is currently required from: Donn Denman.

View Change

2 comments:

  • Patchset:

    • Patch Set #7:

      Thank you for taking a look, Donn! I'll add Gang and bttk@ as well 👍

  • File chrome/browser/android/contextualsearch/native_contextual_search_context.h:

    • I'm unsure whether this should be updated to 2022. […]

      The file has basically been split into two now (contextual_search_context.h and native_*.h), so updating to 2022 seems fine to me 👍

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
Gerrit-Change-Number: 3732755
Gerrit-PatchSet: 7
Gerrit-Owner: Josh Simmons <j...@google.com>
Gerrit-Reviewer: Donn Denman <do...@chromium.org>
Gerrit-Reviewer: Josh Simmons <j...@google.com>
Gerrit-Attention: Donn Denman <do...@chromium.org>
Gerrit-Comment-Date: Tue, 28 Jun 2022 23:19:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Donn Denman <do...@chromium.org>
Gerrit-MessageType: comment

Josh Simmons (Gerrit)

unread,
Jun 28, 2022, 7:21:43 PM6/28/22
to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

Attention is currently required from: Donn Denman, Gang Wu.

View Change

1 comment:

  • Patchset:

    • Patch Set #9:

      Hi Gang! Would you mind taking a look at this refactor when you have a moment? Happy to answer any questions you may have about the direction of these CLs 👍

      Cheers,
      Josh

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
Gerrit-Change-Number: 3732755
Gerrit-PatchSet: 9
Gerrit-Owner: Josh Simmons <j...@google.com>
Gerrit-Reviewer: Donn Denman <do...@chromium.org>
Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
Gerrit-Reviewer: Josh Simmons <j...@google.com>
Gerrit-CC: bttk - <bt...@chromium.org>
Gerrit-Attention: Gang Wu <gan...@chromium.org>
Gerrit-Attention: Donn Denman <do...@chromium.org>
Gerrit-Comment-Date: Tue, 28 Jun 2022 23:21:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Gang Wu (Gerrit)

unread,
Jul 2, 2022, 12:31:42 AM7/2/22
to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

Attention is currently required from: Donn Denman, Josh Simmons.

Patch set 10:Code-Review +1

View Change

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

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
    Gerrit-Change-Number: 3732755
    Gerrit-PatchSet: 10
    Gerrit-Owner: Josh Simmons <j...@google.com>
    Gerrit-Reviewer: Donn Denman <do...@chromium.org>
    Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
    Gerrit-Reviewer: Josh Simmons <j...@google.com>
    Gerrit-CC: bttk - <bt...@chromium.org>
    Gerrit-Attention: Josh Simmons <j...@google.com>
    Gerrit-Attention: Donn Denman <do...@chromium.org>
    Gerrit-Comment-Date: Sat, 02 Jul 2022 04:31:32 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Josh Simmons (Gerrit)

    unread,
    Jul 6, 2022, 1:12:27 PM7/6/22
    to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

    Attention is currently required from: David Trainor, Donn Denman.

    View Change

    1 comment:

    • Patchset:

      • Patch Set #10:

        Thank you for taking a look, Gang!

        David, would you mind taking a look at the chrome/BUILD.gn and chrome/test/DEPS changes when you have a minute?

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

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
    Gerrit-Change-Number: 3732755
    Gerrit-PatchSet: 10
    Gerrit-Owner: Josh Simmons <j...@google.com>
    Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
    Gerrit-Reviewer: Donn Denman <do...@chromium.org>
    Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
    Gerrit-Reviewer: Josh Simmons <j...@google.com>
    Gerrit-CC: bttk - <bt...@chromium.org>
    Gerrit-Attention: David Trainor <dtra...@chromium.org>
    Gerrit-Attention: Donn Denman <do...@chromium.org>
    Gerrit-Comment-Date: Wed, 06 Jul 2022 17:12:13 +0000

    David Trainor (Gerrit)

    unread,
    Jul 7, 2022, 4:10:45 PM7/7/22
    to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

    Attention is currently required from: Donn Denman, Josh Simmons.

    Patch set 10:Code-Review +1

    View Change

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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
      Gerrit-Change-Number: 3732755
      Gerrit-PatchSet: 10
      Gerrit-Owner: Josh Simmons <j...@google.com>
      Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
      Gerrit-Reviewer: Donn Denman <do...@chromium.org>
      Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
      Gerrit-Reviewer: Josh Simmons <j...@google.com>
      Gerrit-CC: bttk - <bt...@chromium.org>
      Gerrit-Attention: Josh Simmons <j...@google.com>
      Gerrit-Attention: Donn Denman <do...@chromium.org>
      Gerrit-Comment-Date: Thu, 07 Jul 2022 20:10:37 +0000

      David Trainor (Gerrit)

      unread,
      Jul 7, 2022, 4:13:20 PM7/7/22
      to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

      Attention is currently required from: Donn Denman, Josh Simmons.

      View Change

      2 comments:

      • Patchset:

      • File chrome/BUILD.gn:

        • Patch Set #10, Line 1603:

          java_cpp_enum("quick_action_category_enum_javagen") {
          sources =
          [ "//components/contextual_search/core/browser/resolved_search_term.h" ]
          }

          Actually should this target exist in //components/contextual_search/core/browser/BUILD.gn? Feels weird having it here.

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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
      Gerrit-Change-Number: 3732755
      Gerrit-PatchSet: 10
      Gerrit-Owner: Josh Simmons <j...@google.com>
      Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
      Gerrit-Reviewer: Donn Denman <do...@chromium.org>
      Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
      Gerrit-Reviewer: Josh Simmons <j...@google.com>
      Gerrit-CC: bttk - <bt...@chromium.org>
      Gerrit-Attention: Josh Simmons <j...@google.com>
      Gerrit-Attention: Donn Denman <do...@chromium.org>
      Gerrit-Comment-Date: Thu, 07 Jul 2022 20:13:11 +0000

      Josh Simmons (Gerrit)

      unread,
      Jul 7, 2022, 8:40:55 PM7/7/22
      to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

      Attention is currently required from: Donn Denman.

      View Change

      2 comments:

      • Patchset:

      • File chrome/BUILD.gn:

        • Patch Set #10, Line 1603:

          java_cpp_enum("quick_action_category_enum_javagen") {
          sources =
          [ "//components/contextual_search/core/browser/resolved_search_term.h" ]
          }

        • Actually should this target exist in //components/contextual_search/core/browser/BUILD. […]

          Good point! Moved :)

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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
      Gerrit-Change-Number: 3732755
      Gerrit-PatchSet: 12
      Gerrit-Owner: Josh Simmons <j...@google.com>
      Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
      Gerrit-Reviewer: Donn Denman <do...@chromium.org>
      Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
      Gerrit-Reviewer: Josh Simmons <j...@google.com>
      Gerrit-CC: bttk - <bt...@chromium.org>
      Gerrit-Attention: Donn Denman <do...@chromium.org>
      Gerrit-Comment-Date: Fri, 08 Jul 2022 00:40:41 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: David Trainor <dtra...@chromium.org>
      Gerrit-MessageType: comment

      Josh Simmons (Gerrit)

      unread,
      Jul 7, 2022, 8:41:03 PM7/7/22
      to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

      Attention is currently required from: Donn Denman.

      Patch set 12:Commit-Queue +2

      View Change

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
        Gerrit-Change-Number: 3732755
        Gerrit-PatchSet: 12
        Gerrit-Owner: Josh Simmons <j...@google.com>
        Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
        Gerrit-Reviewer: Donn Denman <do...@chromium.org>
        Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
        Gerrit-Reviewer: Josh Simmons <j...@google.com>
        Gerrit-CC: bttk - <bt...@chromium.org>
        Gerrit-Attention: Donn Denman <do...@chromium.org>
        Gerrit-Comment-Date: Fri, 08 Jul 2022 00:40:54 +0000

        Josh Simmons (Gerrit)

        unread,
        Jul 11, 2022, 4:53:01 PM7/11/22
        to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

        Attention is currently required from: Daniel Cheng, Donn Denman.

        View Change

        1 comment:

        • Patchset:

          • Patch Set #12:

            Hi Daniel! Would you mind taking a look at the addition of +url to components/contextual_search/DEPS when you have a chance? Please let me know if this isn't the correct way to take that dependency :)

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
        Gerrit-Change-Number: 3732755
        Gerrit-PatchSet: 12
        Gerrit-Owner: Josh Simmons <j...@google.com>
        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
        Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
        Gerrit-Reviewer: Donn Denman <do...@chromium.org>
        Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
        Gerrit-Reviewer: Josh Simmons <j...@google.com>
        Gerrit-CC: bttk - <bt...@chromium.org>
        Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
        Gerrit-Attention: Donn Denman <do...@chromium.org>
        Gerrit-Comment-Date: Mon, 11 Jul 2022 20:52:52 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Gerrit-MessageType: comment

        Daniel Cheng (Gerrit)

        unread,
        Jul 12, 2022, 3:04:46 AM7/12/22
        to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

        Attention is currently required from: Donn Denman, Josh Simmons.

        View Change

        3 comments:

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
        Gerrit-Change-Number: 3732755
        Gerrit-PatchSet: 13
        Gerrit-Owner: Josh Simmons <j...@google.com>
        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
        Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
        Gerrit-Reviewer: Donn Denman <do...@chromium.org>
        Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
        Gerrit-Reviewer: Josh Simmons <j...@google.com>
        Gerrit-CC: bttk - <bt...@chromium.org>
        Gerrit-Attention: Josh Simmons <j...@google.com>
        Gerrit-Attention: Donn Denman <do...@chromium.org>
        Gerrit-Comment-Date: Tue, 12 Jul 2022 07:04:33 +0000

        Josh Simmons (Gerrit)

        unread,
        Jul 12, 2022, 7:30:25 PM7/12/22
        to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

        Attention is currently required from: Daniel Cheng, Donn Denman.

        Patch set 14:Commit-Queue +1

        View Change

        4 comments:

        • Patchset:

          • Patch Set #14:

            Thank you for your help, Daniel! Opened crbug/1343955 to track the sanitization you'd mentioned.

        • File components/contextual_search/core/browser/contextual_search_context.cc:

          • Several things: […]

            Thank you for calling this out! Since this is just a refactor I've filed crbug/1343955 to track the sanitization work and will send out a separate CL for it. I've made the cast improvements here, however 👍

          • Optional, but for "simple" getters and setters (such as for base page url, base page encoding, et ce […]

            Makes sense! Moved all of the trivial getters/setters into the header and updated the complex types to use const refs 👍

          • Unlike above, it seems like we do try to sanitize it: […]

            Similar to the above comment, added a TODO to track this behavior change in a followup CL.

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
        Gerrit-Change-Number: 3732755
        Gerrit-PatchSet: 14
        Gerrit-Owner: Josh Simmons <j...@google.com>
        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
        Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
        Gerrit-Reviewer: Donn Denman <do...@chromium.org>
        Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
        Gerrit-Reviewer: Josh Simmons <j...@google.com>
        Gerrit-CC: bttk - <bt...@chromium.org>
        Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
        Gerrit-Attention: Donn Denman <do...@chromium.org>
        Gerrit-Comment-Date: Tue, 12 Jul 2022 23:30:14 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Daniel Cheng <dch...@chromium.org>
        Gerrit-MessageType: comment

        Daniel Cheng (Gerrit)

        unread,
        Jul 12, 2022, 11:07:48 PM7/12/22
        to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, Donn Denman, chromium...@chromium.org

        Attention is currently required from: Donn Denman, Josh Simmons.

        Patch set 14:Code-Review +1

        View Change

        1 comment:

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
        Gerrit-Change-Number: 3732755
        Gerrit-PatchSet: 14
        Gerrit-Owner: Josh Simmons <j...@google.com>
        Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
        Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
        Gerrit-Reviewer: Donn Denman <do...@chromium.org>
        Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
        Gerrit-Reviewer: Josh Simmons <j...@google.com>
        Gerrit-CC: bttk - <bt...@chromium.org>
        Gerrit-Attention: Josh Simmons <j...@google.com>
        Gerrit-Attention: Donn Denman <do...@chromium.org>
        Gerrit-Comment-Date: Wed, 13 Jul 2022 03:07:40 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Gerrit-MessageType: comment

        Donn Denman (Gerrit)

        unread,
        Jul 13, 2022, 10:24:06 AM7/13/22
        to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, chromium...@chromium.org

        Attention is currently required from: Josh Simmons.

        Patch set 14:Code-Review +1

        View Change

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

          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
          Gerrit-Change-Number: 3732755
          Gerrit-PatchSet: 14
          Gerrit-Owner: Josh Simmons <j...@google.com>
          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
          Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
          Gerrit-Reviewer: Donn Denman <do...@chromium.org>
          Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
          Gerrit-Reviewer: Josh Simmons <j...@google.com>
          Gerrit-CC: bttk - <bt...@chromium.org>
          Gerrit-Attention: Josh Simmons <j...@google.com>
          Gerrit-Comment-Date: Wed, 13 Jul 2022 14:23:54 +0000

          Josh Simmons (Gerrit)

          unread,
          Jul 13, 2022, 12:26:42 PM7/13/22
          to donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Donn Denman, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, Chromium LUCI CQ, chromium...@chromium.org

          Patch set 14:Commit-Queue +2

          View Change

          1 comment:

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

          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
          Gerrit-Change-Number: 3732755
          Gerrit-PatchSet: 14
          Gerrit-Owner: Josh Simmons <j...@google.com>
          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
          Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
          Gerrit-Reviewer: Donn Denman <do...@chromium.org>
          Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
          Gerrit-Reviewer: Josh Simmons <j...@google.com>
          Gerrit-CC: bttk - <bt...@chromium.org>
          Gerrit-Comment-Date: Wed, 13 Jul 2022 16:26:33 +0000

          Chromium LUCI CQ (Gerrit)

          unread,
          Jul 13, 2022, 12:30:49 PM7/13/22
          to Josh Simmons, donnd...@chromium.org, droger+w...@chromium.org, gangwu...@chromium.org, twelling...@chromium.org, Donn Denman, Daniel Cheng, David Trainor, Gang Wu, bttk -, Tricium, chromium...@chromium.org

          Chromium LUCI CQ submitted this change.

          View Change


          Approvals: Daniel Cheng: Looks good to me David Trainor: Looks good to me Donn Denman: Looks good to me Josh Simmons: Commit Gang Wu: Looks good to me
          Moving ResolvedSearchTerm and ContextualSearchContext to components.

          These will also be used by Desktop Partial Search, so moving them out of
          android/. Next step will be to move ContextualSearchDelegate to components/, as well, which will involve making it depend on the components/ version of ContextualSearchContext rather than the Native (jni-enabled) version.

          Bug: 1340303
          Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
          Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3732755
          Commit-Queue: Josh Simmons <j...@google.com>
          Reviewed-by: Gang Wu <gan...@chromium.org>
          Reviewed-by: Donn Denman <do...@chromium.org>
          Reviewed-by: David Trainor <dtra...@chromium.org>
          Reviewed-by: Daniel Cheng <dch...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1023784}
          ---
          M chrome/BUILD.gn
          M chrome/android/BUILD.gn
          M chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchContext.java
          M chrome/browser/BUILD.gn
          M chrome/browser/android/bottombar/overlay_panel_content.h
          D chrome/browser/android/contextualsearch/contextual_search_context.cc
          D chrome/browser/android/contextualsearch/contextual_search_context.h
          M chrome/browser/android/contextualsearch/contextual_search_delegate.cc
          M chrome/browser/android/contextualsearch/contextual_search_delegate.h
          M chrome/browser/android/contextualsearch/contextual_search_delegate_unittest.cc
          M chrome/browser/android/contextualsearch/contextual_search_manager.cc
          M chrome/browser/android/contextualsearch/contextual_search_manager.h
          A chrome/browser/android/contextualsearch/native_contextual_search_context.cc
          A chrome/browser/android/contextualsearch/native_contextual_search_context.h
          M chrome/test/BUILD.gn
          M chrome/test/DEPS
          D components/contextual_search/core/BUILD.gn
          A components/contextual_search/core/DEPS
          A components/contextual_search/core/browser/BUILD.gn
          A components/contextual_search/core/browser/contextual_search_context.cc
          A components/contextual_search/core/browser/contextual_search_context.h
          R components/contextual_search/core/browser/resolved_search_term.cc
          R components/contextual_search/core/browser/resolved_search_term.h
          23 files changed, 587 insertions(+), 497 deletions(-)


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

          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I853f122113bfbab2fe2622a006d3c27eb4093c0a
          Gerrit-Change-Number: 3732755
          Gerrit-PatchSet: 15
          Gerrit-Owner: Josh Simmons <j...@google.com>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
          Gerrit-Reviewer: David Trainor <dtra...@chromium.org>
          Gerrit-Reviewer: Donn Denman <do...@chromium.org>
          Gerrit-Reviewer: Gang Wu <gan...@chromium.org>
          Gerrit-Reviewer: Josh Simmons <j...@google.com>
          Gerrit-CC: bttk - <bt...@chromium.org>
          Gerrit-MessageType: merged
          Reply all
          Reply to author
          Forward
          0 new messages