| 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 cache entries. |
| 14 RELOAD, | 14 RELOAD, |
| 15 | 15 |
| 16 // Reload the page, validating only cache entry for the main resource. |
| 17 RELOAD_MAIN_RESOURCE, |
| 18 |
| 16 // Reload the page, bypassing any cache entries. | 19 // Reload the page, bypassing any cache entries. |
| 17 RELOAD_BYPASSING_CACHE, | 20 RELOAD_BYPASSING_CACHE, |
| 18 | 21 |
| 19 // Reload the page using the original request URL. | 22 // Reload the page using the original request URL. |
| 20 RELOAD_ORIGINAL_REQUEST_URL, | 23 RELOAD_ORIGINAL_REQUEST_URL, |
| 21 | 24 |
| 22 // The navigation is the result of session restore and should honor the | 25 // 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 | 26 // 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 | 27 // 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 | 28 // session did not crash. If this is not set and the page was restored then |
| (...skipping 21 matching lines...) Expand all Loading... |
| 47 REPORT_LINK, | 50 REPORT_LINK, |
| 48 | 51 |
| 49 // Report metrics for this load, that originated from an Android OS intent. | 52 // Report metrics for this load, that originated from an Android OS intent. |
| 50 REPORT_INTENT, | 53 REPORT_INTENT, |
| 51 | 54 |
| 52 REPORT_TYPE_LAST = REPORT_INTENT, | 55 REPORT_TYPE_LAST = REPORT_INTENT, |
| 53 }; | 56 }; |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ | 59 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ |
| OLD | NEW |