| 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) | 18 Same, // user loads same URL again (but not reload button) |
| 19 RedirectWithLockedBackForwardList, | 19 ReplaceCurrentItem, |
| 20 InitialInChildFrame, | 20 InitialInChildFrame, |
| 21 InitialHistoryLoad, // history navigation in a newly created frame | 21 InitialHistoryLoad, // history navigation in a newly created frame |
| 22 ReloadFromOrigin, // reload bypassing cache | 22 ReloadFromOrigin, // reload bypassing cache |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace blink | 25 } // namespace blink |
| 26 | 26 |
| 27 #endif // WebFrameLoadType_h | 27 #endif // WebFrameLoadType_h |
| 28 | 28 |
| OLD | NEW |