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

Unified Diff: chrome/browser/ui/webui/active_downloads_ui.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/active_downloads_ui.cc
===================================================================
--- chrome/browser/ui/webui/active_downloads_ui.cc (revision 105162)
+++ chrome/browser/ui/webui/active_downloads_ui.cc (working copy)
@@ -303,7 +303,8 @@
return;
Browser* browser = BrowserList::GetLastActive();
- browser::NavigateParams params(browser, GURL(url), PageTransition::LINK);
+ browser::NavigateParams params(
+ browser, GURL(url), content::PAGE_TRANSITION_LINK);
params.disposition = NEW_FOREGROUND_TAB;
browser::Navigate(&params);
browser->window()->Show();
@@ -402,7 +403,7 @@
TabContents* ActiveDownloadsUI::OpenPopup(Profile* profile) {
Browser* browser = Browser::GetOrCreateTabbedBrowser(profile);
OpenURLParams params(GURL(chrome::kChromeUIActiveDownloadsURL), GURL(),
- SINGLETON_TAB, PageTransition::LINK);
+ SINGLETON_TAB, content::PAGE_TRANSITION_LINK);
TabContents* download_contents = browser->OpenURL(params);
browser->window()->Show();
return download_contents;
@@ -435,7 +436,7 @@
browser::NavigateParams params(
browser,
GURL(chrome::kChromeUIActiveDownloadsURL),
- PageTransition::LINK);
+ content::PAGE_TRANSITION_LINK);
params.disposition = NEW_FOREGROUND_TAB;
browser::Navigate(&params);
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_controller.cc ('k') | chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698