blob: 8bd67154d94824db739ee05489ba39ccc150f456 [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.
#include "ios/web/common/features.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace web {
namespace features {
bool StorePendingItemInContext() {
return base::FeatureList::IsEnabled(kStorePendingItemInContext);
}
const base::Feature kIgnoresViewportScaleLimits{
"IgnoresViewportScaleLimits", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kSlimNavigationManager{"SlimNavigationManager",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kStorePendingItemInContext{
"StorePendingItemInContext", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kWKHTTPSystemCookieStore{"WKHTTPSystemCookieStore",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kCrashOnUnexpectedURLChange{
"CrashOnUnexpectedURLChange", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kDisconnectScrollProxyDuringRestore{
"DisconnectScrollProxyDuringRestore", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kHistoryClobberWorkaround{
"WKWebViewHistoryClobberWorkaround", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kBlockUniversalLinksInOffTheRecordMode{
"BlockUniversalLinksInOffTheRecord", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kKeepsRenderProcessAlive{"KeepsRenderProcessAlive",
base::FEATURE_ENABLED_BY_DEFAULT};
} // namespace features
} // namespace web