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

Side by Side Diff: trunk/src/content/common/frame_message_enums.h

Issue 177713006: Revert 251563 "Move browser initiated navigation from RenderView..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
6 #define CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
7
8 #include "ipc/ipc_message_macros.h"
9
10 struct FrameMsg_Navigate_Type {
11 public:
12 enum Value {
13 // Reload the page.
14 RELOAD,
15
16 // Reload the page, ignoring any cache entries.
17 RELOAD_IGNORING_CACHE,
18
19 // Reload the page using the original request URL.
20 RELOAD_ORIGINAL_REQUEST_URL,
21
22 // The navigation is the result of session restore and should honor the
23 // page's cache policy while restoring form state. This is set to true if
24 // restoring a tab/session from the previous session and the previous
25 // session did not crash. If this is not set and the page was restored then
26 // the page's cache policy is ignored and we load from the cache.
27 RESTORE,
28
29 // Like RESTORE, except that the navigation contains POST data.
30 RESTORE_WITH_POST,
31
32 // Navigation type not categorized by the other types.
33 NORMAL,
34
35 // Last guard value, so we can use it for validity checks.
36 NAVIGATE_TYPE_LAST = NORMAL,
37 };
38 };
39
40 #endif // CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
OLDNEW
« no previous file with comments | « trunk/src/content/browser/renderer_host/render_view_host_impl.cc ('k') | trunk/src/content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698