1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
8 // This file can be empty. Its purpose is to contain the relatively short lived
9 // declarations required for experimental flags.
11 namespace experimental_flags
{
13 // Whether background crash report upload should generate a local notification.
14 bool IsAlertOnBackgroundUploadEnabled();
16 // Whether external URL request blocking from subframes is enabled.
17 bool IsExternalURLBlockingEnabled();
19 // Whether the new bookmark collection experience is enabled.
20 bool IsBookmarkCollectionEnabled();
22 // Whether to extract salient images from pages at load time if bookmarked.
23 bool IsBookmarkImageFetchingOnVisitEnabled();
25 // Whether the app uses WKWebView instead of UIWebView.
26 bool IsWKWebViewEnabled();
28 // Whether keyboard commands are supported.
29 bool AreKeyboardCommandsEnabled();
31 // Whether viewing and copying passwords is enabled.
32 bool IsViewCopyPasswordsEnabled();
34 } // namespace experimental_flags
36 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_