OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_MESSAGES_ENUMS_H_ | 5 #ifndef CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
6 #define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ | 6 #define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
7 | 7 |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 | 9 |
10 // Values that may be OR'd together to form the 'flags' parameter of a | 10 // Values that may be OR'd together to form the 'flags' parameter of a |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 struct ViewMsg_Navigate_Type { | 29 struct ViewMsg_Navigate_Type { |
30 public: | 30 public: |
31 enum Value { | 31 enum Value { |
32 // Reload the page. | 32 // Reload the page. |
33 RELOAD, | 33 RELOAD, |
34 | 34 |
35 // Reload the page, ignoring any cache entries. | 35 // Reload the page, ignoring any cache entries. |
36 RELOAD_IGNORING_CACHE, | 36 RELOAD_IGNORING_CACHE, |
37 | 37 |
| 38 // Reload the page using the original request URL. |
| 39 RELOAD_ORIGINAL_REQUEST_URL, |
| 40 |
38 // The navigation is the result of session restore and should honor the | 41 // The navigation is the result of session restore and should honor the |
39 // page's cache policy while restoring form state. This is set to true if | 42 // page's cache policy while restoring form state. This is set to true if |
40 // restoring a tab/session from the previous session and the previous | 43 // restoring a tab/session from the previous session and the previous |
41 // session did not crash. If this is not set and the page was restored then | 44 // session did not crash. If this is not set and the page was restored then |
42 // the page's cache policy is ignored and we load from the cache. | 45 // the page's cache policy is ignored and we load from the cache. |
43 RESTORE, | 46 RESTORE, |
44 | 47 |
45 // Like RESTORE, except that the navigation contains POST data. | 48 // Like RESTORE, except that the navigation contains POST data. |
46 RESTORE_WITH_POST, | 49 RESTORE_WITH_POST, |
47 | 50 |
(...skipping 11 matching lines...) Expand all Loading... |
59 // editable text nodes is sent to the browser process. Useful for | 62 // editable text nodes is sent to the browser process. Useful for |
60 // implementing limited UIA on tablets. | 63 // implementing limited UIA on tablets. |
61 AccessibilityModeEditableTextOnly, | 64 AccessibilityModeEditableTextOnly, |
62 | 65 |
63 // WebKit accessibility is on, and the full accessibility tree is synced | 66 // WebKit accessibility is on, and the full accessibility tree is synced |
64 // to the browser process. Useful for screen readers and magnifiers. | 67 // to the browser process. Useful for screen readers and magnifiers. |
65 AccessibilityModeComplete, | 68 AccessibilityModeComplete, |
66 }; | 69 }; |
67 | 70 |
68 #endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ | 71 #endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
OLD | NEW |