summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorrlp <rlp@chromium.org>2014-12-22 18:25:59 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-23 02:26:51 +0000
commit7b4f8bbadd0950e2a81e8687caebd7af5f4dcd14 (patch)
tree67a4029bb56ef0adfdf8d44f89e560fd0c4df324 /extensions
parent7f84b4cf686a5fc6e523f4f4bf3e750064dbc21c (diff)
downloadchromium_src-7b4f8bbadd0950e2a81e8687caebd7af5f4dcd14.zip
chromium_src-7b4f8bbadd0950e2a81e8687caebd7af5f4dcd14.tar.gz
chromium_src-7b4f8bbadd0950e2a81e8687caebd7af5f4dcd14.tar.bz2
[Hotword] Don't show hotword options if search provider is not Google.
This CL moves the search provider check into the function which determines how to display hotwording. Prior to this, it was only being updated when the search provider was changed and other javascript could come along and re-show the hotword section (even though it was now supposed to be hidden). Now every time the hotwording should be displayed, the search provider is checked beforehand. This is the logically correct way to do it. BUG=442938 Review URL: https://codereview.chromium.org/815683003 Cr-Commit-Position: refs/heads/master@{#309522}
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions