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

Unified Diff: content/common/frame_message_enums.h

Issue 148083013: Move browser initiated navigation from RenderViewHost to RenderFrameHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another one bites the dust. Created 6 years, 10 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 | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_message_enums.h
diff --git a/content/common/frame_message_enums.h b/content/common/frame_message_enums.h
new file mode 100644
index 0000000000000000000000000000000000000000..d2f9d8af14fcd828c1850d5445f7514d4bc53fc0
--- /dev/null
+++ b/content/common/frame_message_enums.h
@@ -0,0 +1,40 @@
+// 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 CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
+#define CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
+
+#include "ipc/ipc_message_macros.h"
+
+struct FrameMsg_Navigate_Type {
+ public:
+ enum Value {
+ // Reload the page.
+ RELOAD,
+
+ // Reload the page, ignoring any cache entries.
+ RELOAD_IGNORING_CACHE,
+
+ // Reload the page using the original request URL.
+ RELOAD_ORIGINAL_REQUEST_URL,
+
+ // The navigation is the result of session restore and should honor the
+ // page's cache policy while restoring form state. This is set to true if
+ // restoring a tab/session from the previous session and the previous
+ // session did not crash. If this is not set and the page was restored then
+ // the page's cache policy is ignored and we load from the cache.
+ RESTORE,
+
+ // Like RESTORE, except that the navigation contains POST data.
+ RESTORE_WITH_POST,
+
+ // Navigation type not categorized by the other types.
+ NORMAL,
+
+ // Last guard value, so we can use it for validity checks.
+ NAVIGATE_TYPE_LAST = NORMAL,
+ };
+};
+
+#endif // CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698