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

Unified Diff: chrome/browser/ui/webui/html_dialog_tab_contents_delegate_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/webui/html_dialog_tab_contents_delegate_unittest.cc
===================================================================
--- chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc (revision 105162)
+++ chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc (working copy)
@@ -57,7 +57,7 @@
scoped_refptr<history::HistoryAddPageArgs> should_add_args(
new history::HistoryAddPageArgs(
GURL(), base::Time::Now(), 0, 0, GURL(), history::RedirectList(),
- PageTransition::TYPED, history::SOURCE_SYNCED, false));
+ content::PAGE_TRANSITION_TYPED, history::SOURCE_SYNCED, false));
EXPECT_FALSE(test_tab_contents_delegate_->ShouldAddNavigationToHistory(
*should_add_args, NavigationType::NEW_PAGE));
test_tab_contents_delegate_->NavigationStateChanged(NULL, 0);
@@ -73,7 +73,7 @@
TEST_F(HtmlDialogTabContentsDelegateTest, OpenURLFromTabTest) {
test_tab_contents_delegate_->OpenURLFromTab(
NULL, GURL(chrome::kAboutBlankURL), GURL(),
- NEW_FOREGROUND_TAB, PageTransition::LINK);
+ NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK);
// This should create a new foreground tab in the existing browser.
EXPECT_EQ(1, browser()->tab_count());
EXPECT_EQ(1U, BrowserList::size());
@@ -96,7 +96,7 @@
// Now, none of the following calls should do anything.
test_tab_contents_delegate_->OpenURLFromTab(
NULL, GURL(chrome::kAboutBlankURL), GURL(),
- NEW_FOREGROUND_TAB, PageTransition::LINK);
+ NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK);
test_tab_contents_delegate_->AddNewContents(NULL, NULL, NEW_FOREGROUND_TAB,
gfx::Rect(), false);
EXPECT_EQ(0, browser()->tab_count());
« no previous file with comments | « chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698