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

Side by Side Diff: chrome/common/page_transition_types.cc

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 years, 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/common/page_transition_types.h"
6
7 const char* PageTransition::CoreTransitionString(Type type) {
8 switch (type & PageTransition::CORE_MASK) {
9 case 0: return "link";
10 case 1: return "typed";
11 case 2: return "auto_bookmark";
12 case 3: return "auto_subframe";
13 case 4: return "manual_subframe";
14 case 5: return "generated";
15 case 6: return "start_page";
16 case 7: return "form_submit";
17 case 8: return "reload";
18 case 9: return "keyword";
19 case 10: return "keyword_generated";
20 }
21 return NULL;
22 }
OLDNEW
« no previous file with comments | « chrome/common/page_transition_types.h ('k') | chrome/renderer/resources/extension_process_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698