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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_unittest.cc

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 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
Index: chrome/browser/ui/toolbar/toolbar_model_unittest.cc
===================================================================
--- chrome/browser/ui/toolbar/toolbar_model_unittest.cc (revision 116244)
+++ chrome/browser/ui/toolbar/toolbar_model_unittest.cc (working copy)
@@ -8,11 +8,12 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "chrome/test/base/browser_with_test_window_test.h"
-#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/common/url_constants.h"
using content::OpenURLParams;
using content::Referrer;
+using content::WebContents;
class ToolbarModelTest : public BrowserWithTestWindowTest {
public:
@@ -22,7 +23,7 @@
void NavigateAndCheckText(const std::string& url,
const std::string& expected_text,
bool should_display) {
- TabContents* contents = browser()->GetTabContentsAt(0);
+ WebContents* contents = browser()->GetWebContentsAt(0);
browser()->OpenURL(OpenURLParams(
GURL(url), Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED,
false));
« no previous file with comments | « chrome/browser/ui/panels/panel_window_controller_cocoa.mm ('k') | chrome/browser/ui/views/find_bar_host_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698