blob: 2140e9d3169f04d2f2144abb026d6d10bc6b7e08 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_WEB_FEATURES_H_
#define IOS_CHROME_BROWSER_WEB_FEATURES_H_
#include "base/feature_list.h"
namespace web {
// Feature flag to enable lockdown mode within browser.
BASE_DECLARE_FEATURE(kBrowserLockdownModeAvailable);
// Returns true if the use of Browser Lockdown Mode is enabled.
bool IsBrowserLockdownModeEnabled();
// Feature flag to tie the default zoom level for webpages to the current
// dynamic type setting.
BASE_DECLARE_FEATURE(kWebPageDefaultZoomFromDynamicType);
// Used to enable a different method of zooming web pages.
BASE_DECLARE_FEATURE(kWebPageAlternativeTextZoom);
// Reneables text zoom on iPad.
BASE_DECLARE_FEATURE(kWebPageTextZoomIPad);
// Feature flag for to use native session restoration.
BASE_DECLARE_FEATURE(kRestoreSessionFromCache);
// Whether native session restoration cache is enabled.
bool UseNativeSessionRestorationCache();
} // namespace web
#endif // IOS_CHROME_BROWSER_WEB_FEATURES_H_