blob: d4f14c92ab05b65cbc61ca8032d5f6d8d4a72b7f [file] [log] [blame]
// 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)
ReplaceCurrentItem,
InitialInChildFrame,
InitialHistoryLoad, // history navigation in a newly created frame
ReloadFromOrigin, // reload bypassing cache
};
} // namespace blink
#endif // WebFrameLoadType_h