Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SharedPinnedTab functionality #23429

Merged
merged 1 commit into from
May 5, 2024
Merged

Fix SharedPinnedTab functionality #23429

merged 1 commit into from
May 5, 2024

Conversation

sangwoo108
Copy link
Contributor

As of cr125, SharedPinnedTab functionality is removed because upstream code was removed. This patch resurrects the functionality.

Resolves brave/brave-browser#37973

Submitter Checklist:

  • I confirm that no security/privacy review is needed and no other type of reviews are needed, or that I have requested them
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally:
    • npm run test -- brave_browser_tests, npm run test -- brave_unit_tests wiki
    • npm run presubmit wiki, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

As of cr125, SharedPinnedTab functionality is removed because upstream
code was removed. This patch resurrects the functionality.
@sangwoo108 sangwoo108 marked this pull request as ready for review May 4, 2024 23:03
@sangwoo108 sangwoo108 requested review from emerick and simonhong May 4, 2024 23:03
Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@emerick
Copy link
Contributor

emerick commented May 5, 2024

cc: @mkarolin, just FYI!

@sangwoo108 sangwoo108 merged commit d40db35 into master May 5, 2024
20 checks passed
@sangwoo108 sangwoo108 deleted the sko/spt-resurrect branch May 5, 2024 13:59
@github-actions github-actions bot added this to the 1.67.x - Nightly milestone May 5, 2024
mkarolin pushed a commit that referenced this pull request May 6, 2024
Fix SharedPinnedTab functionality
mkarolin pushed a commit that referenced this pull request May 8, 2024
Fix SharedPinnedTab functionality
kjozwiak pushed a commit that referenced this pull request May 8, 2024
* Merge pull request #23049 from brave/ksmith-webui-bubble-mgr

Simplify customization of WebUIBubbleManager

* Merge pull request #22936 from brave/cr125

Upgrade from Chromium 124 to Chromium 125.

* NTP drive module was renamed to file suggestion.

Chromium change:

https://chromium.googlesource.com/chromium/src/+/1af2f445d25a6

commit 1af2f445d25a6f2e12984418df7b9a0bd09d4523
Author: Riley Tatum <rtatum@google.com>
Date:   Mon Apr 8 18:55:34 2024 +0000

    [NTP] Rename drive module to file suggestion for cleaner reuse of code

    This change is helping to prepare for another source for file
    suggestions to be added to the NTP. The other file suggestion source
    will have the same UX; therefore, it would be best to reuse as much code
    as possible.

    Code that can be used across both sources for the module, are changed
    to use the term "file_suggestion" instead of "drive". Code that is
    specific to the Drive source keeps the name "drive". This shouldn't
    change any functionality. It is just meant to make the reuse of this
    code cleaner.

    I left v1 of the module largely alone, since extra source support will
    not be added for the older version of modules .

    Bug: 329897261

* Merge pull request #23429 from brave/sko/spt-resurrect

Fix SharedPinnedTab functionality

* TabStripModel::DetachWebContentsAtForInsertion was removed.

Chromium change:

https://source.chromium.org/chromium/chromium/src/+/afdf1e54a8ef45bfd22ecabfea0012da22bba6a3

commit afdf1e54a8ef45bfd22ecabfea0012da22bba6a3
Author: Erik Chen <erikchen@chromium.org>
Date:   Mon Apr 15 20:56:17 2024 +0000

    Remove TabStripModel::DetachWebContentsAtForInsertion.

    This CL is a refactor with no intended behavior change. This CL removes
    callers of DetachWebContentsAtForInsertion. This also allows
    TabModel::RemoveContents to become private.

    Bug: 1476012

* Disables crashing upstream unit tests.

* Merge pull request #23441 from brave/maxk-fix-bookmarks-folder-color

[cr125 follow up] Fixes bookmarks folder color in the side panel.

* Merge pull request #23497 from brave/bookmarks_panel_checkboux

Fixed bookmarks panel checkbox colors

* Restore .rustfmt.toml patch accidentally removed by cr124 bump.

---------

Co-authored-by: Kevin Smith <zenparsing@gmail.com>
Co-authored-by: Sangwoo Ko <sko@brave.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shared pinned tab may not work after Chromium 125
2 participants