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 "content/common/accessibility_mode_enums.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_ 41