| commit | 5e4bcd0c5bcb8d0bf4f3e8d3e7bf29d64059f43d | [log] [tgz] |
|---|---|---|
| author | Orin Jaworski <[email protected]> | Tue Oct 16 19:35:05 2018 |
| committer | Commit Bot <[email protected]> | Tue Oct 16 19:35:05 2018 |
| tree | ae8f4873fcbddf7ceb4932882660150f81312f94 | |
| parent | de532b653d8ccf64411ae7cc3930e1fd9f171682 [diff] [blame] |
[omnibox] Add Pedal to launch incognito window This CL introduces another experimental action Pedal to launch an incognito tab in a new browser window. Bug: 893183 Change-Id: I9b0a671f80037ee646a8bfa6401474d9315e430d Reviewed-on: https://chromium-review.googlesource.com/c/1274204 Commit-Queue: Orin Jaworski <[email protected]> Reviewed-by: Justin Donnelly <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Reviewed-by: Scott Violet <[email protected]> Cr-Commit-Position: refs/heads/master@{#600082}
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc index 0649a4c5..6dfff626 100644 --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc
@@ -342,7 +342,7 @@ NewWindow(browser_); break; case IDC_NEW_INCOGNITO_WINDOW: - NewIncognitoWindow(browser_); + NewIncognitoWindow(profile()); break; case IDC_CLOSE_WINDOW: base::RecordAction(base::UserMetricsAction("CloseWindowByKey"));