DescriptionConvert users of the "get last active browser, get selected tab contents, open url" pattern to just call OpenURL on Browser directly.
Makes GetOrCreateTabbedBrowser public on Browser, and makes it static so it can be called with a provided profile.
BUG=none
TEST=Try opening links from the bookmark/history menus on mac, with and without an existing window open, with an active incognito window, etc. The links should all open in the last active non-incognito window, or create a new non-incognito window if none is open.
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|