Skip to content

Applied our resize area to BraveMultiContentsView #29154

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

Merged
merged 2 commits into from
May 26, 2025

Conversation

simonhong
Copy link
Member

@simonhong simonhong commented May 21, 2025

fix brave/brave-browser#46194

Replaced MultiContentsResizeArea with SplitViewSeparator to use our resizer UI in BraveMultiContentsView.
image

TEST=SideBySideEnabledBrowserTest.BraveMultiContentsViewTest

  1. Launch browser with --enable-features=SidebySide
  2. Open split view with any tab's context menu
  3. Check our resize handle is used

Resolves

@simonhong simonhong self-assigned this May 21, 2025
@simonhong simonhong added the CI/run-upstream-tests Run upstream unit and browser tests on Linux and Windows (otherwise only on Linux) label May 21, 2025
class BrowserView;
class ContentsWebView;
-class MultiContentsResizeArea;
+// class MultiContentsResizeArea;
Copy link
Member Author

@simonhong simonhong May 21, 2025

Choose a reason for hiding this comment

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

This redefine #define MultiContentsResizeArea views::ResizeArea makes build error.
can't build class views::ResizeArea;

@simonhong simonhong force-pushed the use_our_resize_area_in_multi_contents_view branch 2 times, most recently from 3a17f86 to 7a98ae6 Compare May 22, 2025 01:38
fix brave/brave-browser#46194

TEST=SideBySideEnabledBrowserTest.BraveMultiContentsViewTest
@simonhong simonhong force-pushed the use_our_resize_area_in_multi_contents_view branch from 7a98ae6 to a29207b Compare May 22, 2025 04:27
@simonhong simonhong marked this pull request as ready for review May 22, 2025 05:53
@simonhong simonhong requested review from a team as code owners May 22, 2025 05:53
@simonhong simonhong merged commit ad4f43c into master May 26, 2025
18 checks passed
@simonhong simonhong deleted the use_our_resize_area_in_multi_contents_view branch May 26, 2025 11:21
@github-actions github-actions bot added this to the 1.81.x - Nightly milestone May 26, 2025
@brave-builds
Copy link
Collaborator

Released in v1.81.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/run-upstream-tests Run upstream unit and browser tests on Linux and Windows (otherwise only on Linux)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply brave's split view resize area UI to BraveMultiContentsView
7 participants