Chromium Code Reviews| Index: public/web/WebFrameLoadType.h |
| diff --git a/public/web/WebFrameLoadType.h b/public/web/WebFrameLoadType.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..46b6016385906dc87d9a10366ec58c234c8e5549 |
| --- /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 WebFrameLoadType { |
|
dcheng
2015/06/02 18:42:02
enum class
clamy
2015/06/03 14:39:14
Done.
|
| + 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 |
| + |