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

Unified Diff: content/browser/renderer_host/test_render_view_host.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/renderer_host/test_render_view_host.h ('k') | content/browser/site_instance_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/test_render_view_host.cc
===================================================================
--- content/browser/renderer_host/test_render_view_host.cc (revision 105162)
+++ content/browser/renderer_host/test_render_view_host.cc (working copy)
@@ -1,3 +1,4 @@
+
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,7 +23,7 @@
void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
int page_id,
const GURL& url,
- PageTransition::Type transition) {
+ content::PageTransition transition) {
params->page_id = page_id;
params->url = url;
params->referrer = GURL();
@@ -77,11 +78,11 @@
}
void TestRenderViewHost::SendNavigate(int page_id, const GURL& url) {
- SendNavigateWithTransition(page_id, url, PageTransition::LINK);
+ SendNavigateWithTransition(page_id, url, content::PAGE_TRANSITION_LINK);
}
void TestRenderViewHost::SendNavigateWithTransition(
- int page_id, const GURL& url, PageTransition::Type transition) {
+ int page_id, const GURL& url, content::PageTransition transition) {
ViewHostMsg_FrameNavigate_Params params;
params.page_id = page_id;
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/browser/site_instance_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698