Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Issue 3834002: Make all browser code use browser::Navigate to open tabs.... (Closed)

Created:
10 years, 2 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Make all browser code use browser::Navigate to open tabs. BUG=none TEST=existing unittests. Also, test all places where new tabs and windows are opened from UI, e.g. links in options, new tab button, Ctrl+T, popup windows, etc. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64745

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 9

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -509 lines) Patch
M chrome/browser/autocomplete/autocomplete_browsertest.cc View 2 3 4 5 6 7 8 9 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/browser.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -48 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 5 6 7 8 9 13 chunks +66 lines, -294 lines 0 comments Download
M chrome/browser/browser_browsertest.cc View 2 3 4 5 6 7 8 9 3 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/browser_focus_uitest.cc View 2 3 4 5 6 7 8 9 2 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/browser_init.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/browser_navigator.h View 2 3 4 5 6 7 8 9 3 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/browser_navigator.cc View 1 2 3 4 5 6 7 8 9 6 chunks +39 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/tab_closeable_state_watcher_browsertest.cc View 4 5 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/cocoa/applescript/window_applescript.mm View 4 5 6 7 8 9 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/tab_strip_controller.mm View 4 5 6 7 8 9 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/dom_ui/filebrowse_ui.cc View 4 5 6 7 8 9 3 chunks +16 lines, -11 lines 0 comments Download
M chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/find_bar_host_browsertest.cc View 2 3 4 5 6 7 8 9 10 6 chunks +15 lines, -17 lines 0 comments Download
M chrome/browser/gtk/bookmark_bar_gtk_interactive_uitest.cc View 4 5 7 8 9 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/importer/importer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/sessions/session_restore.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 2 3 4 5 6 7 8 9 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 2 3 4 5 6 7 8 9 4 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model.cc View 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_manager/task_manager_browsertest.cc View 2 3 4 5 6 7 8 9 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/views/find_bar_host_interactive_uitest.cc View 2 3 4 5 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download
M chrome/test/browser_with_test_window_test.cc View 2 3 4 5 6 7 8 9 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/test/in_process_browser_test.h View 6 7 8 9 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/test/in_process_browser_test.cc View 6 7 8 9 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ben Goodger (Google)
I have some issues to work out on tests but this is the gist.
10 years, 2 months ago (2010-10-20 16:54:20 UTC) #1
sky
http://codereview.chromium.org/3834002/diff/13002/51002 File chrome/browser/browser.cc (right): http://codereview.chromium.org/3834002/diff/13002/51002#newcode2319 chrome/browser/browser.cc:2319: TabContents* Browser::AddBlankTabAt(int index, bool foreground) { Can we nuke ...
10 years, 2 months ago (2010-10-20 20:07:15 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/3834002/diff/13002/51004 File chrome/browser/browser_browsertest.cc (right): http://codereview.chromium.org/3834002/diff/13002/51004#newcode237 chrome/browser/browser_browsertest.cc:237: browser()->AddSelectedTabWithURL(url, PageTransition::TYPED); On 2010/10/20 20:07:15, sky wrote: > This ...
10 years, 2 months ago (2010-10-20 20:49:35 UTC) #3
sky
http://codereview.chromium.org/3834002/diff/86001/87002 File chrome/browser/browser.cc (right): http://codereview.chromium.org/3834002/diff/86001/87002#newcode2320 chrome/browser/browser.cc:2320: TabContents* Browser::AddBlankTabAt(int index, bool foreground) { Could you remove ...
10 years, 2 months ago (2010-10-21 17:06:58 UTC) #4
Ben Goodger (Google)
Updated with comments. http://codereview.chromium.org/3834002/diff/86001/87013 File chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc (right): http://codereview.chromium.org/3834002/diff/86001/87013#newcode65 chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc:65: params.disposition = NEW_FOREGROUND_TAB; On 2010/10/21 17:06:58, ...
10 years, 2 months ago (2010-10-21 20:05:03 UTC) #5
sky
10 years, 2 months ago (2010-10-21 20:23:22 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698