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

Issue 17132011: Add setVoiceSearchSupported to the searchbox API. This will be used to determine whether to show a … (Closed)

Created:
7 years, 6 months ago by jeremycho
Modified:
7 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, mad+watch_chromium.org, dominich, jfweitz+watch_chromium.org, samarth+watch_chromium.org, chromium-apps-reviews_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add setVoiceSearchSupported to the searchbox API. This will be used to determine whether to show a microphone icon in the Omnibox. BUG=251384 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207746

Patch Set 1 #

Patch Set 2 : Fix typo. #

Patch Set 3 : Move listener to SearchTabHelper. #

Total comments: 9

Patch Set 4 : Respond and revert changes. #

Total comments: 2

Patch Set 5 : Rebase past 16035020, add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -10 lines) Patch
M chrome/browser/ui/search/search_model.h View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_model.cc View 1 2 3 4 4 chunks +25 lines, -6 lines 0 comments Download
M chrome/browser/ui/search/search_model_unittest.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 2 3 4 4 chunks +12 lines, -3 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/searchbox_api.js View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jeremycho
palmer for security review samarth for everything else pkasting mainly for FYI (as he'll be ...
7 years, 6 months ago (2013-06-18 23:11:40 UTC) #1
Peter Kasting
I'll need to know answers to a couple of questions: * Will this always be ...
7 years, 6 months ago (2013-06-18 23:45:42 UTC) #2
David Black
> * Will this always be called while the active navigation entry is a committed ...
7 years, 6 months ago (2013-06-18 23:53:46 UTC) #3
Peter Kasting
On 2013/06/18 23:53:46, David Black wrote: > I > *think* the check you're asking for ...
7 years, 6 months ago (2013-06-19 00:02:50 UTC) #4
samarth
There's a worse bug in the current version: 1) Start loading search page in tab ...
7 years, 6 months ago (2013-06-19 00:38:15 UTC) #5
jeremycho
On 2013/06/19 00:38:15, samarth wrote: > There's a worse bug in the current version: > ...
7 years, 6 months ago (2013-06-19 02:24:00 UTC) #6
samarth
https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc#newcode1 chrome/browser/ui/search/instant_controller.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 6 months ago (2013-06-19 05:39:20 UTC) #7
jeremycho
https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc#newcode1 chrome/browser/ui/search/instant_controller.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 6 months ago (2013-06-19 07:16:48 UTC) #8
samarth
https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc#newcode1 chrome/browser/ui/search/instant_controller.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 6 months ago (2013-06-19 16:40:23 UTC) #9
jeremycho
https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/17132011/diff/11002/chrome/browser/ui/search/instant_controller.cc#newcode1 chrome/browser/ui/search/instant_controller.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 6 months ago (2013-06-19 20:11:33 UTC) #10
palmer
IPC security LGTM
7 years, 6 months ago (2013-06-19 20:31:04 UTC) #11
samarth
One more comment below, but otherwise this looks good. Let me know once you've synced ...
7 years, 6 months ago (2013-06-19 22:55:16 UTC) #12
jeremycho
Rebased and added test. PTAL. https://codereview.chromium.org/17132011/diff/22001/chrome/browser/ui/search/search_tab_helper.cc File chrome/browser/ui/search/search_tab_helper.cc (right): https://codereview.chromium.org/17132011/diff/22001/chrome/browser/ui/search/search_tab_helper.cc#newcode94 chrome/browser/ui/search/search_tab_helper.cc:94: model_.SetVoiceSearchSupported(false); On 2013/06/19 22:55:16, ...
7 years, 6 months ago (2013-06-20 19:35:52 UTC) #13
samarth
lgtm
7 years, 6 months ago (2013-06-20 21:01:25 UTC) #14
jeremycho
Thanks for the review. Peter - is this good on your end?
7 years, 6 months ago (2013-06-20 21:05:56 UTC) #15
Peter Kasting
On 2013/06/20 21:05:56, jeremycho wrote: > Thanks for the review. Peter - is this good ...
7 years, 6 months ago (2013-06-20 22:35:09 UTC) #16
jeremycho
On 2013/06/20 22:35:09, Peter Kasting wrote: > On 2013/06/20 21:05:56, jeremycho wrote: > > Thanks ...
7 years, 6 months ago (2013-06-20 22:47:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/17132011/33001
7 years, 6 months ago (2013-06-20 22:50:41 UTC) #18
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 07:16:12 UTC) #19
Message was sent while issue was closed.
Change committed as 207746

Powered by Google App Engine
This is Rietveld 408576698