| 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 ea1312ecabbafa2f41e9ff421307d1a902332a4d..cc7bfa5ab3a07e02aa76d3c0383426f4e7a301ef 100644
|
| --- a/chrome/renderer/resources/extensions/searchbox_api.js
|
| +++ b/chrome/renderer/resources/extensions/searchbox_api.js
|
| @@ -13,7 +13,6 @@ if (!chrome.embeddedSearch) {
|
| // =======================================================================
|
| // Private functions
|
| // =======================================================================
|
| - native function Focus();
|
| native function GetMostVisitedItemData();
|
| native function GetQuery();
|
| native function GetSearchRequestParams();
|
| @@ -36,12 +35,9 @@ if (!chrome.embeddedSearch) {
|
| Object.defineProperty(this, 'requestParams',
|
| { get: GetSearchRequestParams });
|
|
|
| - this.focus = function() {
|
| - Focus();
|
| - };
|
| -
|
| // This method is restricted to chrome-search://most-visited pages by
|
| // checking the invoking context's origin in searchbox_extension.cc.
|
| + // TODO(treib): Why is this in searchBox rather than newTabPage?
|
| this.getMostVisitedItemData = function(restrictedId) {
|
| var item = GetMostVisitedItemData(restrictedId);
|
| if (item) {
|
|
|