| Index: third_party/WebKit/public/web/WebFrameLoadType.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameLoadType.h b/third_party/WebKit/public/web/WebFrameLoadType.h
|
| index 0d237f53138cad8b9d72dd30771ecc28f6d3111f..df55aa6147fdeb75829066c40f72d3a94bbfff0e 100644
|
| --- a/third_party/WebKit/public/web/WebFrameLoadType.h
|
| +++ b/third_party/WebKit/public/web/WebFrameLoadType.h
|
| @@ -11,15 +11,40 @@ namespace blink {
|
| // The type of load for a navigation.
|
| // TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType
|
| // in DidCommitProvisionalLoad.
|
| +//
|
| +// Standard:
|
| +// Follows network and cache protocols, e.g. using cached entries unless
|
| +// they are expired. Used in usual navigations.
|
| +// BackForward:
|
| +// Uses cached entries even if the entries are stale. Used in history back and
|
| +// forward navigations.
|
| +// Reload:
|
| +// Revalidates cached entries even if the entries are fresh. Used in usual
|
| +// reload.
|
| +// ReloadMainResource:
|
| +// Revalidates a cached entry for the main resource if one exists, but follows
|
| +// protocols for other subresources. Blink internally uses this for the same
|
| +// page navigation. Also used in optimized reload for mobiles in a field
|
| +// trial.
|
| +// ReplaceCurrentItem:
|
| +// Same as Standard, but replaces current navigation entry in the history.
|
| +// InitialInChildFrame:
|
| +// Used in the first load for a subframe.
|
| +// InitialHistoryLoad:
|
| +// Used in history navigation in a newly created frame.
|
| +// ReloadBypassingCache:
|
| +// Bypasses any caches, memory and disk cache in the browser, and caches in
|
| +// proxy servers, to fetch fresh contents directly from the end server.
|
| +// Used in Shift-Reload.
|
| enum class WebFrameLoadType {
|
| Standard,
|
| BackForward,
|
| Reload,
|
| - Same, // user loads same URL again (but not reload button)
|
| + ReloadMainResource,
|
| ReplaceCurrentItem,
|
| InitialInChildFrame,
|
| - InitialHistoryLoad, // history navigation in a newly created frame
|
| - ReloadBypassingCache, // super reload
|
| + InitialHistoryLoad,
|
| + ReloadBypassingCache,
|
| };
|
|
|
| } // namespace blink
|
|
|