Apply _RELATIVE relocations ahead of others.
[chromium-blink-merge.git] / content / common / frame_message_enums.h
blobc45989645f78dcb46ce4dcce2262adbf1845343e
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.
5 #ifndef CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
6 #define CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_
8 #include "content/common/accessibility_mode_enums.h"
10 struct FrameMsg_Navigate_Type {
11 public:
12 enum Value {
13 // Reload the page.
14 RELOAD,
16 // Reload the page, ignoring any cache entries.
17 RELOAD_IGNORING_CACHE,
19 // Reload the page using the original request URL.
20 RELOAD_ORIGINAL_REQUEST_URL,
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,
29 // Like RESTORE, except that the navigation contains POST data.
30 RESTORE_WITH_POST,
32 // Navigation type not categorized by the other types.
33 NORMAL,
35 // Last guard value, so we can use it for validity checks.
36 NAVIGATE_TYPE_LAST = NORMAL,
40 #endif // CONTENT_COMMON_FRAME_MESSAGES_ENUMS_H_