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

Unified Diff: chrome/common/page_transition_types.h

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension_manifests_unittest.cc ('k') | chrome/common/page_transition_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/page_transition_types.h
diff --git a/chrome/common/page_transition_types.h b/chrome/common/page_transition_types.h
index e41734f4ce8a47fca9ea084135db931ebb0484de..bb460066ca70a6bcb1ebbb6bc23eee7226fedbee 100644
--- a/chrome/common/page_transition_types.h
+++ b/chrome/common/page_transition_types.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -94,7 +94,7 @@ class PageTransition {
KEYWORD_GENERATED = 10,
// ADDING NEW CORE VALUE? Be sure to update the LAST_CORE and CORE_MASK
- // values below.
+ // values below. Also update CoreTransitionString().
LAST_CORE = KEYWORD_GENERATED,
CORE_MASK = 0xFF,
@@ -162,6 +162,9 @@ class PageTransition {
static int32 GetQualifier(Type type) {
return type & QUALIFIER_MASK;
}
+
+ // Return a string version of the core type values.
+ static const char* CoreTransitionString(Type type);
};
#endif // CHROME_COMMON_PAGE_TRANSITION_TYPES_H__
« no previous file with comments | « chrome/common/extensions/extension_manifests_unittest.cc ('k') | chrome/common/page_transition_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698