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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 105162)
+++ chrome/browser/ui/toolbar/toolbar_model_unittest.cc (working copy)
@@ -13,29 +13,29 @@
TEST_F(ToolbarModelTest, ShouldDisplayURL) {
browser()->OpenURL(GURL("view-source:http://www.google.com"),
- GURL(), CURRENT_TAB, PageTransition::TYPED);
+ GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
EXPECT_TRUE(browser()->toolbar_model()->ShouldDisplayURL());
EXPECT_EQ(ASCIIToUTF16("view-source:www.google.com"),
browser()->toolbar_model()->GetText());
browser()->OpenURL(GURL("view-source:chrome://newtab/"),
- GURL(), CURRENT_TAB, PageTransition::TYPED);
+ GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
EXPECT_TRUE(browser()->toolbar_model()->ShouldDisplayURL());
EXPECT_EQ(ASCIIToUTF16("view-source:chrome://newtab"),
browser()->toolbar_model()->GetText());
browser()->OpenURL(GURL("chrome-extension://monkey/balls.html"),
- GURL(), CURRENT_TAB, PageTransition::TYPED);
+ GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
EXPECT_FALSE(browser()->toolbar_model()->ShouldDisplayURL());
EXPECT_EQ(ASCIIToUTF16(""), browser()->toolbar_model()->GetText());
browser()->OpenURL(GURL("chrome://newtab/"),
- GURL(), CURRENT_TAB, PageTransition::TYPED);
+ GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
EXPECT_FALSE(browser()->toolbar_model()->ShouldDisplayURL());
EXPECT_EQ(ASCIIToUTF16(""), browser()->toolbar_model()->GetText());
browser()->OpenURL(GURL("about:blank"),
- GURL(), CURRENT_TAB, PageTransition::TYPED);
+ GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
EXPECT_TRUE(browser()->toolbar_model()->ShouldDisplayURL());
EXPECT_EQ(ASCIIToUTF16("about:blank"),
browser()->toolbar_model()->GetText());
« no previous file with comments | « chrome/browser/ui/search_engines/search_engine_tab_helper.cc ('k') | chrome/browser/ui/views/about_chrome_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698