OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file can be empty. Its purpose is to contain the relatively short lived | 5 // This file can be empty. Its purpose is to contain the relatively short lived |
6 // definitions required for experimental flags. | 6 // definitions required for experimental flags. |
7 | 7 |
8 #include "ios/chrome/browser/experimental_flags.h" | 8 #include "ios/chrome/browser/experimental_flags.h" |
9 | 9 |
10 #include <dispatch/dispatch.h> | 10 #include <dispatch/dispatch.h> |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 bool IsNativeAppLauncherEnabled() { | 270 bool IsNativeAppLauncherEnabled() { |
271 return [[NSUserDefaults standardUserDefaults] | 271 return [[NSUserDefaults standardUserDefaults] |
272 boolForKey:@"NativeAppLauncherEnabled"]; | 272 boolForKey:@"NativeAppLauncherEnabled"]; |
273 } | 273 } |
274 | 274 |
275 bool IsNewFeedbackKitEnabled() { | 275 bool IsNewFeedbackKitEnabled() { |
276 return [[NSUserDefaults standardUserDefaults] | 276 return [[NSUserDefaults standardUserDefaults] |
277 boolForKey:@"NewFeedbackKitEnabled"]; | 277 boolForKey:@"NewFeedbackKitEnabled"]; |
278 } | 278 } |
279 | 279 |
| 280 bool IsKeyboardAccessoryViewWithCameraSearchEnabled() { |
| 281 return [[NSUserDefaults standardUserDefaults] |
| 282 boolForKey:@"NewKeyboardAccessoryViewEnabled"]; |
| 283 } |
| 284 |
280 } // namespace experimental_flags | 285 } // namespace experimental_flags |
OLD | NEW |