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

Unified Diff: content/browser/tab_contents/test_tab_contents.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
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.cc ('k') | content/browser/webui/generic_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/test_tab_contents.cc
===================================================================
--- content/browser/tab_contents/test_tab_contents.cc (revision 105162)
+++ content/browser/tab_contents/test_tab_contents.cc (working copy)
@@ -11,7 +11,7 @@
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/test_render_view_host.h"
#include "content/browser/site_instance.h"
-#include "content/common/page_transition_types.h"
+#include "content/public/common/page_transition_types.h"
TestTabContents::TestTabContents(content::BrowserContext* browser_context,
SiteInstance* instance)
@@ -47,7 +47,8 @@
}
void TestTabContents::NavigateAndCommit(const GURL& url) {
- controller().LoadURL(url, GURL(), PageTransition::LINK, std::string());
+ controller().LoadURL(
+ url, GURL(), content::PAGE_TRANSITION_LINK, std::string());
GURL loaded_url(url);
bool reverse_on_redirect = false;
BrowserURLHandler::GetInstance()->RewriteURLIfNecessary(
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.cc ('k') | content/browser/webui/generic_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698