Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: ios/chrome/browser/experimental_flags.mm

Issue 2934463002: [iOS] Add experimental new keyboard accessory view. (Closed)
Patch Set: Addressed comments. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index b6a6097810cd3f74129fac8f83e91f9f6bd40419..474dc4568ec795874d81e9cbee83613ca7b5de23 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -272,4 +272,9 @@ bool IsNativeAppLauncherEnabled() {
boolForKey:@"NativeAppLauncherEnabled"];
}
+bool IsKeyboardAccessoryViewWithCameraSearchEnabled() {
+ return [[NSUserDefaults standardUserDefaults]
+ boolForKey:@"NewKeyboardAccessoryViewEnabled"];
+}
+
} // namespace experimental_flags

Powered by Google App Engine
This is Rietveld 408576698