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