blob: ad302002753bc50f81019097b85970a62412c657 [file] [log] [blame]
// Copyright 2017 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 IOS_WEB_PUBLIC_FEATURES_H_
#define IOS_WEB_PUBLIC_FEATURES_H_
#include "base/feature_list.h"
namespace web {
namespace features {
// Used to enable asynchronous DOM element fetching for context menu.
extern const base::Feature kContextMenuElementPostMessage;
// Used to enable the WKBackForwardList based navigation manager.
extern const base::Feature kSlimNavigationManager;
// Used to enable new Download Manager UI and backend.
extern const base::Feature kNewFileDownload;
// Used to enable displaying error pages in WebState by loading HTML string.
extern const base::Feature kWebErrorPages;
// Used to enable using WKHTTPSystemCookieStore in main context URL requests.
extern const base::Feature kWKHTTPSystemCookieStore;
// Used to crash the browser if unexpected URL change is detected.
// https://crbug.com/841105.
extern const base::Feature kCrashOnUnexpectedURLChange;
} // namespace features
} // namespace web
#endif // IOS_WEB_PUBLIC_FEATURES_H_