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

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

Issue 1495643002: Adds an IOSWebViewTypeParam() method to SearchTermsData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « components/search_engines/search_terms_data.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/experimental_flags.h
diff --git a/ios/chrome/browser/experimental_flags.h b/ios/chrome/browser/experimental_flags.h
index b0972229add99ea89935758a3a05dc2ee982fe0b..a262864ea01c00c75a2dcc2cb9f79a65bfa7289f 100644
--- a/ios/chrome/browser/experimental_flags.h
+++ b/ios/chrome/browser/experimental_flags.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
#define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
+#include <string>
+
// This file can be empty. Its purpose is to contain the relatively short lived
// declarations required for experimental flags.
@@ -30,6 +32,10 @@ bool IsLRUSnapshotCacheEnabled();
// The returned value will not change within a given session.
bool IsWKWebViewEnabled();
+// Returns a string containing extra params that should be sent along with
+// omnibox search requests. The returned value contains a leading "&".
+std::string GetWKWebViewSearchParams();
+
// Whether keyboard commands are supported.
bool AreKeyboardCommandsEnabled();
« no previous file with comments | « components/search_engines/search_terms_data.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698