-
Notifications
You must be signed in to change notification settings - Fork 887
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
Support opening new regular, private, private with Tor window in Tor window #3813
Conversation
…window. New window, New private window, New private window with Tor are shown in the hamburger and file menu, and users could use them to open any type of new window in Tor window.
if (brave::IsTorProfile(browser->profile())) { | ||
chrome::NewEmptyWindow(browser->profile()); | ||
return; | ||
} |
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.
If we're already in Tor window, open a new empty Tor window.
InsertItemWithStringIdAt(GetIndexOfCommandId(IDC_NEW_INCOGNITO_WINDOW) + 1, | ||
IDC_NEW_OFFTHERECORD_WINDOW_TOR, | ||
IDS_NEW_OFFTHERECORD_WINDOW_TOR); |
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.
Show this option in Tor window too.
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.
++
CI failed on linux network audit with known error which is success in previous build. |
Fix brave/brave-browser#6467
Fix brave/brave-browser#6646
Per slack discussion, our goal here is to let users open all types of new windows (regular / private / private with Tor) in the hamburger and file menu in regular, private, and Tor Windows.
As screenshot below,
New Window
,New Private Window
, andNew Private Window with Tor
are shown in the hamburger menu of these three types of window, and it will open the corresponding type of new window through any of the options.regular:
private:
private with Tor:
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
New Window
,New Private Window
,New Private Window with Tor
in the hamburger menu, it should create the corresponding type of new window.New Window
,New Private Window
,New Private Window with Tor
in the hamburger menu, it should create the corresponding type of new window.New Window
,New Private Window
,New Private Window with Tor
in the hamburger menu, it should create the corresponding type of new window.Reviewer Checklist:
After-merge Checklist:
changes has landed on.