| Index: public/web/WebFrameLoadType.h
|
| diff --git a/public/web/WebFrameLoadType.h b/public/web/WebFrameLoadType.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..31389275951f92d56b215a0484804293786b8b1b
|
| --- /dev/null
|
| +++ b/public/web/WebFrameLoadType.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebFrameLoadType_h
|
| +#define WebFrameLoadType_h
|
| +
|
| +
|
| +namespace blink {
|
| +
|
| +// The type of load for a navigation.
|
| +// TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType
|
| +// in DidCommitProvisionalLoad.
|
| +enum class WebFrameLoadType {
|
| + Standard,
|
| + BackForward,
|
| + Reload,
|
| + Same, // user loads same URL again (but not reload button)
|
| + RedirectWithLockedBackForwardList,
|
| + InitialInChildFrame,
|
| + InitialHistoryLoad, // history navigation in a newly created frame
|
| + ReloadFromOrigin, // reload bypassing cache
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebFrameLoadType_h
|
| +
|
|
|