OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebFrameLoadType_h | 5 #ifndef WebFrameLoadType_h |
6 #define WebFrameLoadType_h | 6 #define WebFrameLoadType_h |
7 | 7 |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
11 // The type of load for a navigation. | 11 // The type of load for a navigation. |
12 // TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType | 12 // TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType |
13 // in DidCommitProvisionalLoad. | 13 // in DidCommitProvisionalLoad. |
14 enum class WebFrameLoadType { | 14 enum class WebFrameLoadType { |
15 Standard, | 15 Standard, |
16 BackForward, | 16 BackForward, |
17 Reload, | 17 Reload, |
18 Same, // user loads same URL again (but not reload button) | |
19 RedirectWithLockedBackForwardList, | 18 RedirectWithLockedBackForwardList, |
20 InitialInChildFrame, | 19 InitialInChildFrame, |
21 InitialHistoryLoad, // history navigation in a newly created frame | 20 InitialHistoryLoad, // history navigation in a newly created frame |
22 ReloadFromOrigin, // reload bypassing cache | 21 ReloadFromOrigin, // reload bypassing cache |
23 }; | 22 }; |
24 | 23 |
25 } // namespace blink | 24 } // namespace blink |
26 | 25 |
27 #endif // WebFrameLoadType_h | 26 #endif // WebFrameLoadType_h |
28 | 27 |
OLD | NEW |