Conversation
📋 Code Owners Summary13 file(s) changed, 1 with assigned owners 1 team(s) affected: Owners and Their Files
|
chromium_src/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
Outdated
Show resolved
Hide resolved
fallaciousreasoning
left a comment
There was a problem hiding this comment.
Hmmm so this mostly looks good to me but I wonder if we should be trying to add something to ToolbarButton so this is done automatically for new buttons?
Probably also need @sangwoo or @simonhong to take a look 'cause they actually know what they're doing in views land :D
sangwoo108
left a comment
There was a problem hiding this comment.
It seems the dimming is only affecting Mac. Let me check how it works.
chromium_src/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
Outdated
Show resolved
Hide resolved
|
I think LaberButton::GetVisualState() already considers widget activation state. |
|
@aguscruiz If you find it ai doesn't work well for my comments, please let me know. I could work on this |
|
I think we can follow how chromium handles inactive button's color. Instead of observing widget activation state in each button, |
|
|
[AI-assisted response] Thank you for the detailed explanation @simonhong — this was very helpful. Refactored accordingly:
The sidebar buttons ( |
|
[AI-assisted response] Thank you @sangwoo108 — the latest commit addresses both your and @simonhong's feedback by adopting the |
|
Chromium major version is behind target branch (145.0.7632.120 vs 146.0.7680.32). Please rebase. |
Some icons on desktop weren't dimming when the window is set to inactive (the browser is in the background). This PR attempts to solve that issue
ca477fe to
ec1aca8
Compare
|
@aguscruiz @sangwoo108 Pushed some changes for simplifying disabled icon color handling. |
|
Thank you Simon! This is working great on my build. @sangwoo108 @brave/chromium-src-reviewers would you mind taking a look at the latest? |
browser/ui/views/frame/vertical_tabs/vertical_tab_strip_widget_delegate_view.cc
Outdated
Show resolved
Hide resolved
|
Released in v1.89.90 |
Resolves brave/brave-browser#53109
Active window
Inactive window