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

Issue 2807033: Add support for omnibox.onInputStarted and onInputCancelled. (Closed)

Created:
10 years, 5 months ago by Matt Perry
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add support for omnibox.onInputStarted and onInputCancelled. Also fix a bug where we'd keep an extension's old keyword even if it changed on upgrade/reload. BUG=46475 BUG=48091 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51540

Patch Set 1 #

Patch Set 2 : comment #

Patch Set 3 : docs #

Total comments: 12

Patch Set 4 : feedback #

Patch Set 5 : fix onCancelled #

Total comments: 4

Patch Set 6 : fix Stop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -41 lines) Patch
M chrome/browser/autocomplete/autocomplete.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider.h View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider.cc View 1 2 3 4 5 7 chunks +60 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browser_event_router.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_message_service.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_message_service.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_omnibox_api.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_omnibox_api.cc View 1 2 3 4 4 chunks +32 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/template_url_model.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 5 chunks +18 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/experimental.omnibox.html View 3 3 chunks +52 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 3 4 chunks +2 lines, -18 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Matt Perry
Peter: *autocomplete* Aaron: everything else
10 years, 5 months ago (2010-07-01 18:35:55 UTC) #1
Aaron Boodman
lgtm http://codereview.chromium.org/2807033/diff/4001/5007 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/2807033/diff/4001/5007#newcode905 chrome/browser/extensions/extensions_service.cc:905: if (profile_->GetTemplateURLModel()) Hooray, I win. (OnInstalled->OnLoaded) http://codereview.chromium.org/2807033/diff/4001/5009 File ...
10 years, 5 months ago (2010-07-01 19:08:20 UTC) #2
Peter Kasting
LGTM with a couple suggestions for simplification. I didn't review the extension files, just the ...
10 years, 5 months ago (2010-07-01 19:41:31 UTC) #3
Matt Perry
http://codereview.chromium.org/2807033/diff/4001/5002 File chrome/browser/autocomplete/autocomplete.h (right): http://codereview.chromium.org/2807033/diff/4001/5002#newcode537 chrome/browser/autocomplete/autocomplete.h:537: // notification to the provider to do any cleanup ...
10 years, 5 months ago (2010-07-01 23:47:04 UTC) #4
Peter Kasting
On 2010/07/01 23:47:04, Matt Perry wrote: > > Two questions I have with either method ...
10 years, 5 months ago (2010-07-02 00:00:17 UTC) #5
Peter Kasting
10 years, 5 months ago (2010-07-02 00:02:14 UTC) #6
Oh, we should also probably say explicitly on the base class Stop() declaration
that it may be called even if the provider is already done, if we don't already.

Powered by Google App Engine
This is Rietveld 408576698