| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ | 5 #ifndef CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ |
| 6 #define CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ | 6 #define CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ |
| 7 | 7 |
| 8 #include "content/common/accessibility_mode_enums.h" | 8 #include "content/common/accessibility_mode_enums.h" |
| 9 | 9 |
| 10 struct FrameMsg_Navigate_Type { | 10 struct FrameMsg_Navigate_Type { |
| 11 public: | 11 public: |
| 12 enum Value { | 12 enum Value { |
| 13 // Reload the page, validating cache entries. | 13 // Reload the page, validating only cache entry for the main resource. |
| 14 RELOAD, | 14 RELOAD, |
| 15 | 15 |
| 16 // Reload the page, validating only cache entry for the main resource. | |
| 17 // TODO(toyoshim): We should rename this one to be RELOAD and remove the old | |
| 18 // unused RELOAD behavior. | |
| 19 RELOAD_MAIN_RESOURCE, | |
| 20 | |
| 21 // Reload the page, bypassing any cache entries. | 16 // Reload the page, bypassing any cache entries. |
| 22 RELOAD_BYPASSING_CACHE, | 17 RELOAD_BYPASSING_CACHE, |
| 23 | 18 |
| 24 // Reload the page using the original request URL. | 19 // Reload the page using the original request URL. |
| 25 RELOAD_ORIGINAL_REQUEST_URL, | 20 RELOAD_ORIGINAL_REQUEST_URL, |
| 26 | 21 |
| 27 // The navigation is the result of session restore and should honor the | 22 // The navigation is the result of session restore and should honor the |
| 28 // page's cache policy while restoring form state. This is set to true if | 23 // page's cache policy while restoring form state. This is set to true if |
| 29 // restoring a tab/session from the previous session and the previous | 24 // restoring a tab/session from the previous session and the previous |
| 30 // session did not crash. If this is not set and the page was restored then | 25 // session did not crash. If this is not set and the page was restored then |
| (...skipping 21 matching lines...) Expand all Loading... |
| 52 REPORT_LINK, | 47 REPORT_LINK, |
| 53 | 48 |
| 54 // Report metrics for this load, that originated from an Android OS intent. | 49 // Report metrics for this load, that originated from an Android OS intent. |
| 55 REPORT_INTENT, | 50 REPORT_INTENT, |
| 56 | 51 |
| 57 REPORT_TYPE_LAST = REPORT_INTENT, | 52 REPORT_TYPE_LAST = REPORT_INTENT, |
| 58 }; | 53 }; |
| 59 }; | 54 }; |
| 60 | 55 |
| 61 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ | 56 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ |
| OLD | NEW |