| Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| index 6c555a6fa53750688036a9901547a151ba08aadb..eddf03c29df57a8550f6fda367b1e13e5b162e7e 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| @@ -539,6 +539,11 @@ bool ChromeShellDelegate::IsSearchKeyActingAsFunctionKey() const {
|
| if (!chromebook_function_key)
|
| return false;
|
|
|
| + bool chromeos_keyboard = CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kHasChromeOSKeyboard);
|
| + if (!chromeos_keyboard)
|
| + return false;
|
| +
|
| Profile* profile = ProfileManager::GetDefaultProfile();
|
| return profile->GetPrefs()->GetBoolean(
|
| prefs::kLanguageSearchKeyActsAsFunctionKey);
|
|
|