| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 var chrome; | 5 var chrome; |
| 6 if (!chrome) | 6 if (!chrome) |
| 7 chrome = {}; | 7 chrome = {}; |
| 8 if (!chrome.searchBox) { | 8 if (!chrome.searchBox) { |
| 9 chrome.searchBox = new function() { | 9 chrome.searchBox = new function() { |
| 10 var safeObjects = {}; | 10 var safeObjects = {}; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 }; | 233 }; |
| 234 this.setRestrictedValue = function(resultId) { | 234 this.setRestrictedValue = function(resultId) { |
| 235 SetQueryFromAutocompleteResult(resultId); | 235 SetQueryFromAutocompleteResult(resultId); |
| 236 }; | 236 }; |
| 237 this.show = function(reason, height) { | 237 this.show = function(reason, height) { |
| 238 Show(reason, height); | 238 Show(reason, height); |
| 239 }; | 239 }; |
| 240 this.markDuplicateSuggestions = function(clientSuggestions) { | 240 this.markDuplicateSuggestions = function(clientSuggestions) { |
| 241 return DedupeClientSuggestions(clientSuggestions); | 241 return DedupeClientSuggestions(clientSuggestions); |
| 242 }; | 242 }; |
| 243 this.navigateContentWindow = function(destination) { | 243 this.navigateContentWindow = function(destination, disposition) { |
| 244 return NavigateContentWindow(destination); | 244 return NavigateContentWindow(destination, disposition); |
| 245 }; | 245 }; |
| 246 this.startCapturingKeyStrokes = function() { | 246 this.startCapturingKeyStrokes = function() { |
| 247 StartCapturingKeyStrokes(); | 247 StartCapturingKeyStrokes(); |
| 248 }; | 248 }; |
| 249 this.stopCapturingKeyStrokes = function() { | 249 this.stopCapturingKeyStrokes = function() { |
| 250 StopCapturingKeyStrokes(); | 250 StopCapturingKeyStrokes(); |
| 251 }; | 251 }; |
| 252 this.onchange = null; | 252 this.onchange = null; |
| 253 this.onsubmit = null; | 253 this.onsubmit = null; |
| 254 this.oncancel = null; | 254 this.oncancel = null; |
| 255 this.onresize = null; | 255 this.onresize = null; |
| 256 this.onautocompleteresults = null; | 256 this.onautocompleteresults = null; |
| 257 this.onkeypress = null; | 257 this.onkeypress = null; |
| 258 this.onkeycapturechange = null; | 258 this.onkeycapturechange = null; |
| 259 this.oncontextchange = null; | 259 this.oncontextchange = null; |
| 260 this.onmarginchange = null; | 260 this.onmarginchange = null; |
| 261 }; | 261 }; |
| 262 } | 262 } |
| OLD | NEW |