diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 2 | ||||
-rw-r--r-- | chrome/common/pref_names.cc | 4 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 99bcd33..ee617fd 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -538,6 +538,10 @@ const wchar_t kEnableTabtastic2[] = L"enable-tabtastic2"; // enabled. const wchar_t kPinnedTabCount[] = L"pinned-tab-count"; +// Enables the showing of an info-bar instructing user they can search directly +// from the omnibox. +const wchar_t kSearchInOmniboxHint[] = L"search-in-omnibox-hint"; + // Enable local storage. Still buggy. const wchar_t kEnableLocalStorage[] = L"enable-local-storage"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 038a630..ea089e8 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -207,6 +207,8 @@ extern const wchar_t kEnableTabtastic2[]; extern const wchar_t kPinnedTabCount[]; +extern const wchar_t kSearchInOmniboxHint[]; + extern const wchar_t kEnableLocalStorage[]; extern const wchar_t kEnableSessionStorage[]; diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 14176e4..ed4c086 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -268,6 +268,10 @@ const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser"; // true, we draw a custom chrome frame (thicker title bar and blue border). const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; +// Boolean that indicates whether the infobar explaining that search can be done +// directly from the omnibox should be shown. +const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; + // *************** LOCAL STATE *************** // These are attached to the machine/installation diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 96b2caf..a33ca22 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -101,6 +101,7 @@ extern const wchar_t kCurrentThemeTints[]; extern const wchar_t kCurrentThemeDisplayProperties[]; extern const wchar_t kCheckDefaultBrowser[]; extern const wchar_t kUseCustomChromeFrame[]; +extern const wchar_t kShowOmniboxSearchHint[]; // Local state extern const wchar_t kAvailableProfiles[]; |