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

Unified Diff: public/web/WebHistoryCommitType.h

Issue 214723003: Add an unimplemented history API to WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +WebHisotryCommitType descriptions Created 6 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 | « public/web/WebFrameClient.h ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebHistoryCommitType.h
diff --git a/public/web/WebHistoryCommitType.h b/public/web/WebHistoryCommitType.h
new file mode 100644
index 0000000000000000000000000000000000000000..d0c7138e55b0a64b28d834a88025f9472dad596f
--- /dev/null
+++ b/public/web/WebHistoryCommitType.h
@@ -0,0 +1,29 @@
+// Copyright 2014 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.
+
+#ifndef WebHistoryCommitType_h
+#define WebHistoryCommitType_h
+
+namespace blink {
+
+enum WebHistoryCommitType {
+ // The default case (link clicks, user-typed urls, etc.), appends
+ // a new history entry to the back/forward list.
+ WebStandardCommit,
+ // A load that originated from history, whether from the
+ // back/forward list or session restore. The back/forward list is
+ // not modified, but our position in the list is.
+ WebBackForwardCommit,
+ // Each history entry is represented by a tree, where each node
+ // contains the history state of a single frame in the page. Initial
+ // loads in a new subframe append a new node to that tree.
+ WebInitialCommitInChildFrame,
+ // Reloads, client redirects, etc. Loads that neither originate from
+ // nor add entries to the back/forward list.
+ WebHistoryInertCommit
+};
+
+} // namespace blink
+
+#endif
« no previous file with comments | « public/web/WebFrameClient.h ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698