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

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

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fix Created 5 years, 1 month 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/searchbox_api.js
diff --git a/chrome/renderer/resources/extensions/searchbox_api.js b/chrome/renderer/resources/extensions/searchbox_api.js
index f6e5b3e718f0c71b046177c1b659b35bbe138222..d99fa26b29a5d2a4d04bbe15ff459c7635ec0676 100644
--- a/chrome/renderer/resources/extensions/searchbox_api.js
+++ b/chrome/renderer/resources/extensions/searchbox_api.js
@@ -24,7 +24,6 @@ if (!chrome.embeddedSearch) {
native function IsFocused();
native function IsKeyCaptureEnabled();
native function Paste();
- native function SetVoiceSearchSupported();
native function StartCapturingKeyStrokes();
native function StopCapturingKeyStrokes();
@@ -69,10 +68,6 @@ if (!chrome.embeddedSearch) {
Paste(value);
};
- this.setVoiceSearchSupported = function(supported) {
- SetVoiceSearchSupported(supported);
- };
-
this.startCapturingKeyStrokes = function() {
StartCapturingKeyStrokes();
};
@@ -86,7 +81,6 @@ if (!chrome.embeddedSearch) {
this.onmarginchange = null;
this.onsubmit = null;
this.onsuggestionchange = null;
- this.ontogglevoicesearch = null;
//TODO(jered): Remove this empty method when google no longer requires it.
this.setRestrictedValue = function() {};
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698