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

Unified Diff: chrome/renderer/resources/extensions/omnibox_custom_bindings.js

Issue 14960004: Fix mismatched parameter expectations between chrome.omnibox setDefaultSuggestion and SuggestResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@omniboxJSON
Patch Set: Modify SetOmniboxDefaultSuggestion to generate a dictionary compatible with api::omnibox::SuggestRe… Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extensions/omnibox_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/omnibox_custom_bindings.js b/chrome/renderer/resources/extensions/omnibox_custom_bindings.js
index 32ff65a7f6867880a8e901693ae63b5d5203d597..ee12051655b1ebbc7d37ce1bfc9cb2f9cb0b169d 100644
--- a/chrome/renderer/resources/extensions/omnibox_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/omnibox_custom_bindings.js
@@ -90,7 +90,6 @@ binding.registerCustomHook(function(bindingsAPI) {
throw new Error(
'setDefaultSuggestion cannot contain the "content" field');
}
- suggestResult.content = '';
return [suggestResult];
});
« chrome/common/extensions/api/omnibox.json ('K') | « chrome/common/extensions/api/omnibox.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698