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

Side by Side Diff: content/common/page_transition_types.h

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « content/common/navigation_types.h ('k') | content/common/page_transition_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ 5 #ifndef CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_
6 #define CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ 6 #define CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 // This class is for scoping only. 11 // This class is for scoping only.
12 class PageTransition { 12 class PageTransition {
13 public: 13 public:
14 // Types of transitions between pages. These are stored in the history 14 // Types of transitions between pages. These are stored in the history
15 // database to separate visits, and are reported by the renderer for page 15 // database to separate visits, and are reported by the renderer for page
16 // navigations. 16 // navigations.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 // Return the qualifier 156 // Return the qualifier
157 static int32 GetQualifier(Type type) { 157 static int32 GetQualifier(Type type) {
158 return type & QUALIFIER_MASK; 158 return type & QUALIFIER_MASK;
159 } 159 }
160 160
161 // Return a string version of the core type values. 161 // Return a string version of the core type values.
162 static const char* CoreTransitionString(Type type); 162 static const char* CoreTransitionString(Type type);
163 }; 163 };
164 164
165 #endif // CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ 165 #endif // CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_
OLDNEW
« no previous file with comments | « content/common/navigation_types.h ('k') | content/common/page_transition_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698