| 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 d99fa26b29a5d2a4d04bbe15ff459c7635ec0676..f6e5b3e718f0c71b046177c1b659b35bbe138222 100644
|
| --- a/chrome/renderer/resources/extensions/searchbox_api.js
|
| +++ b/chrome/renderer/resources/extensions/searchbox_api.js
|
| @@ -24,6 +24,7 @@
|
| native function IsFocused();
|
| native function IsKeyCaptureEnabled();
|
| native function Paste();
|
| + native function SetVoiceSearchSupported();
|
| native function StartCapturingKeyStrokes();
|
| native function StopCapturingKeyStrokes();
|
|
|
| @@ -68,6 +69,10 @@
|
| Paste(value);
|
| };
|
|
|
| + this.setVoiceSearchSupported = function(supported) {
|
| + SetVoiceSearchSupported(supported);
|
| + };
|
| +
|
| this.startCapturingKeyStrokes = function() {
|
| StartCapturingKeyStrokes();
|
| };
|
| @@ -81,6 +86,7 @@
|
| 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() {};
|
|
|