-
Notifications
You must be signed in to change notification settings - Fork 869
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed contextual panel item is not activated after attaching to window
fix brave/brave-browser#41782 We called SidebarContainerView::WillShowSidePanel() to observer tab's contextual entry/global entry when panel starts to show from some places. But there was corner-case that WillShowSidePanel() is not called when panel is shown. It happened when tab is attached to another window. And realized that PopulateSidePanel() is always called whenever panel is shown in whatever situation. Fixed by calling WillShowSidePanel() from PopulateSidePanel().
- Loading branch information
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters