-
Notifications
You must be signed in to change notification settings - Fork 873
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
Add don't ask again checkbox to default browser prompt #8253
Conversation
0460237
to
e83134f
Compare
PTAL :) |
e83134f
to
6bc3c97
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.
LGTM
#include "brave/grit/brave_generated_resources.h" | ||
#include "chrome/browser/browser_process.h" |
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.
Need to add a dep on //chrome/browser:browser_process
?
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.
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.
Hi! Is there any way to use our checkbox and button component from the design system?
Default browser prompot is disabled if it's checked and user will not see this prompt anymore. This checking is stored in local state so new profile also can't see this prompt dialog anymore. fix brave/brave-browser#14469
6bc3c97
to
8325553
Compare
@karenkliu I'll work on it as a separate task because it's global native ui change. |
@simonhong Okay - thanks! |
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.
++
Merged because previous CI run was all green and last commit is just grd file description text change. |
Why was this never fixed on Android as well? |
Default browser prompt is disabled if it's checked.
fix brave/brave-browser#14469
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
npm run test brave_browser_tests -- --filter=*BraveLocalStatePref*