-
Notifications
You must be signed in to change notification settings - Fork 877
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
Implement BraveLocationBarView::ChildVisibilityChanged()
#568
Conversation
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.
LGTM.
I think this approach seems fine.
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.
Can we call the base class impl as well here in case the base class ever adds something useful inside here and we don't want to miss it.
The `BraveActionsContainer` was not being shown when tearing off a tab into a new window. This was due to `BraveActionsContainer::Update()` not forcing a `Layout()` in `BraveLocationBarView`. This is now done by implementing the aforementioned callback. Fixes brave/brave-browser#1276.
@bbondy
|
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.
I think we need some refactoring in this area. |
I think this is a dupe and outdated PR, closing. |
The
BraveActionsContainer
was not being shown when tearing off a tabinto a new window. This was due to
BraveActionsContainer::Update()
notforcing a
Layout()
inBraveLocationBarView
. This is now done byimplementing the aforementioned callback.
Fixes brave/brave-browser#1276.
Submitted a ticket for my issue if one did not already exist.
Used Github auto-closing keywords in the commit message.
Added/updated tests for this change (for new code or code which already has tests).
Ran
git rebase -i
to squash commits (if needed).Tagged reviewers and labelled the pull request as needed.
Request a security/privacy review as needed.
Add appropriate QA labels (QA/Yes or QA/No) to include the closed issue in milestone
New files have MPL-2.0 license header.
Request a security/privacy review as needed.
Adequate test coverage exists to prevent regressions
Verify test plan is specified in PR before merging to source