Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Update horizontal tabs styling #20044
Update horizontal tabs styling #20044
Changes from all commits
b5a338c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just double checking, do you happen to check if "immersive tab strip on fullscreen" works? (Tabstrip slides down in fullscreen when mouse hovers on the topside, this is enabled only when
view > Always show toolbar in fullscreen
from OS app menu is unchecked)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's been checked in fullscreen. (Although I'm seeing an unrelated macOS fullscreen tabs issue in master at the moment. I'll attempt to put together a repro.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q. I'm curious why this was added. Isn't this code only reachable when it's vertical tab strip?
Update: maybe related to change in tab container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right - the scroll view is also painted to an (opaque?) layer, so needs all pixels painted. Previously, the tab container would paint the background for it, but since we're moving background painting into
BraveTabStrip
(which is above this scroll view), we need to have the scroll view also take care of background painting.Maybe it would be easier to have the tab container paint to a layer instead of
BraveTabStrip
. I'm not sure if I tried that, but I'll try it again.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BraveTabStrip
needs to be the layer-based ancestor for tabs because tabs are moved out ofTabContainer
and intoTabDragContext
when dragging.BraveTabStrip
is the parent for both.