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

Unified Diff: chrome/browser/gtk/bookmark_bar_gtk_interactive_uitest.cc

Issue 2819086: Removal of TabContentsDelegate::GetBrowser() interface method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/find_bar_host_browsertest.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_bar_gtk_interactive_uitest.cc
===================================================================
--- chrome/browser/gtk/bookmark_bar_gtk_interactive_uitest.cc (revision 55729)
+++ chrome/browser/gtk/bookmark_bar_gtk_interactive_uitest.cc (working copy)
@@ -37,9 +37,12 @@
browser()->Find();
// Create new tab with an arbitrary URL.
+ Browser* browser_used = NULL;
GURL url = server->TestServerPage(kSimplePage);
browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED, -1,
- TabStripModel::ADD_SELECTED, NULL, std::string());
+ TabStripModel::ADD_SELECTED, NULL, std::string(),
+ &browser_used);
+ EXPECT_EQ(browser(), browser_used);
// Switch back to the NTP with the active findbar.
browser()->SelectTabContentsAt(1, false);
« no previous file with comments | « chrome/browser/find_bar_host_browsertest.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698