• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 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 #ifndef WebHistoryCommitType_h
6 #define WebHistoryCommitType_h
7 
8 namespace blink {
9 
10 enum WebHistoryCommitType {
11     // The default case (link clicks, user-typed urls, etc.), appends
12     // a new history entry to the back/forward list.
13     WebStandardCommit,
14     // A load that originated from history, whether from the
15     // back/forward list or session restore. The back/forward list is
16     // not modified, but our position in the list is.
17     WebBackForwardCommit,
18     // Each history entry is represented by a tree, where each node
19     // contains the history state of a single frame in the page. Initial
20     // loads in a new subframe append a new node to that tree.
21     WebInitialCommitInChildFrame,
22     // Reloads, client redirects, etc. Loads that neither originate from
23     // nor add entries to the back/forward list.
24     WebHistoryInertCommit
25 };
26 
27 } // namespace blink
28 
29 #endif
30