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

Side by Side Diff: content/browser/tab_contents/page_navigator.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/tab_contents/page_navigator.h" 5 #include "content/browser/tab_contents/page_navigator.h"
6 6
7 #include "content/common/page_transition_types.h" 7 #include "content/public/common/page_transition_types.h"
8 #include "webkit/glue/window_open_disposition.h" 8 #include "webkit/glue/window_open_disposition.h"
9 9
10 class GURL; 10 class GURL;
11 11
12 OpenURLParams::OpenURLParams( 12 OpenURLParams::OpenURLParams(
13 const GURL& url, 13 const GURL& url,
14 const GURL& referrer, 14 const GURL& referrer,
15 WindowOpenDisposition disposition, 15 WindowOpenDisposition disposition,
16 PageTransition::Type transition) 16 content::PageTransition transition)
17 : url(url), 17 : url(url),
18 referrer(referrer), 18 referrer(referrer),
19 disposition(disposition), 19 disposition(disposition),
20 transition(transition) { 20 transition(transition) {
21 } 21 }
22 22
23 OpenURLParams::OpenURLParams() : disposition(UNKNOWN), transition(0) { 23 OpenURLParams::OpenURLParams()
24 : disposition(UNKNOWN),
25 transition(content::PageTransitionFromInt(0)) {
24 } 26 }
25 27
26 OpenURLParams::~OpenURLParams() { 28 OpenURLParams::~OpenURLParams() {
27 } 29 }
28 30
OLDNEW
« no previous file with comments | « content/browser/tab_contents/page_navigator.h ('k') | content/browser/tab_contents/provisional_load_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698