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

Unified Diff: public/web/WebFrameLoadType.h

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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 | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameLoadType.h
diff --git a/public/web/WebFrameLoadType.h b/public/web/WebFrameLoadType.h
new file mode 100644
index 0000000000000000000000000000000000000000..31389275951f92d56b215a0484804293786b8b1b
--- /dev/null
+++ b/public/web/WebFrameLoadType.h
@@ -0,0 +1,28 @@
+// Copyright 2015 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 WebFrameLoadType_h
+#define WebFrameLoadType_h
+
+
+namespace blink {
+
+// The type of load for a navigation.
+// TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType
+// in DidCommitProvisionalLoad.
+enum class WebFrameLoadType {
+ Standard,
+ BackForward,
+ Reload,
+ Same, // user loads same URL again (but not reload button)
+ RedirectWithLockedBackForwardList,
+ InitialInChildFrame,
+ InitialHistoryLoad, // history navigation in a newly created frame
+ ReloadFromOrigin, // reload bypassing cache
+};
+
+} // namespace blink
+
+#endif // WebFrameLoadType_h
+
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698