-
Notifications
You must be signed in to change notification settings - Fork 868
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
Do not show graphic in Save Password dialog. #5715
Conversation
CI: the only failure was unit-tests on Android. |
|
||
void PasswordSaveUpdateView::OnThemeChanged() { | ||
PasswordBubbleViewBase::OnThemeChanged(); | ||
+ BRAVE_PASSWORD_SAVE_UPDATE_VIEW_ON_THEME_CHANGED |
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.
A patch instead of an override of PasswordSaveUpdateView::OnThemeChanged because PasswordSaveUpdateView's destructor is private.
b8d611a
to
0124e7c
Compare
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.
++
|
||
void PasswordSaveUpdateView::OnThemeChanged() { | ||
PasswordBubbleViewBase::OnThemeChanged(); | ||
+ BRAVE_PASSWORD_SAVE_UPDATE_VIEW_ON_THEME_CHANGED |
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't we just override the two images IDR_SAVE_PASSWORD_DARK and IDR_SAVE_PASSWORD to be empty images?
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.
meaning do a chromium_src override to turn them into some brave resource that is a 1x1 image or something? Also I think it will work if the image is null so maybe try overriding to be IDR_SAVE_PASSWORD_DARK = -1
or something?
Uses 1x1 transparent png instead of Chromium's original graphics. Removes previous patch/override that aren't needed.
Do not show graphic in Save Password dialog.
Fixes brave/brave-browser#10008
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.