Chromium Code Reviews| 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 2bf4d96286242a9ad67aa8e395cc4de16778254d..15ba4047406d19da53cb9a505edb5e4b8683c582 100644 |
| --- a/chrome/renderer/resources/extensions/searchbox_api.js |
| +++ b/chrome/renderer/resources/extensions/searchbox_api.js |
| @@ -29,6 +29,7 @@ if (!chrome.searchBox) { |
| native function GetWidth(); |
| native function GetHeight(); |
| native function GetAutocompleteResults(); |
| + native function GetIsCapturingKeyStrokes(); |
| native function GetContext(); |
| native function GetThemeBackgroundInfo(); |
| native function GetThemeAreaHeight(); |
| @@ -178,6 +179,7 @@ if (!chrome.searchBox) { |
| this.__defineGetter__('width', GetWidth); |
| this.__defineGetter__('height', GetHeight); |
| this.__defineGetter__('nativeSuggestions', GetAutocompleteResultsWrapper); |
| + this.__defineGetter__('isCapturingKeyStrokes', GetIsCapturingKeyStrokes); |
| this.__defineGetter__('context', GetContext); |
| this.__defineGetter__('themeBackgroundInfo', GetThemeBackgroundInfo); |
| this.__defineGetter__('themeAreaHeight', GetThemeAreaHeight); |
| @@ -217,6 +219,7 @@ if (!chrome.searchBox) { |
| this.onresize = null; |
| this.onautocompleteresults = null; |
| this.onkeypress = null; |
| + this.onkeystrokecapturingmodechange = null; |
|
Jered
2012/11/28 17:50:16
Sounds German. How about "keystrokecapturing" -> "
samarth
2012/11/28 19:33:09
Went with onKeyCaptureChange throughout.
|
| this.oncontextchange = null; |
| }; |
| } |