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. | 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. |
17 RELOAD_MAIN_RESOURCE, | 19 RELOAD_MAIN_RESOURCE, |
18 | 20 |
19 // Reload the page, bypassing any cache entries. | 21 // Reload the page, bypassing any cache entries. |
20 RELOAD_BYPASSING_CACHE, | 22 RELOAD_BYPASSING_CACHE, |
21 | 23 |
22 // Reload the page using the original request URL. | 24 // Reload the page using the original request URL. |
23 RELOAD_ORIGINAL_REQUEST_URL, | 25 RELOAD_ORIGINAL_REQUEST_URL, |
24 | 26 |
25 // The navigation is the result of session restore and should honor the | 27 // The navigation is the result of session restore and should honor the |
26 // page's cache policy while restoring form state. This is set to true if | 28 // page's cache policy while restoring form state. This is set to true if |
(...skipping 23 matching lines...) Expand all Loading... |
50 REPORT_LINK, | 52 REPORT_LINK, |
51 | 53 |
52 // Report metrics for this load, that originated from an Android OS intent. | 54 // Report metrics for this load, that originated from an Android OS intent. |
53 REPORT_INTENT, | 55 REPORT_INTENT, |
54 | 56 |
55 REPORT_TYPE_LAST = REPORT_INTENT, | 57 REPORT_TYPE_LAST = REPORT_INTENT, |
56 }; | 58 }; |
57 }; | 59 }; |
58 | 60 |
59 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ | 61 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ |
OLD | NEW |