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

Side by Side Diff: chrome/renderer/resources/extensions/searchbox_api.js

Issue 11644009: Added support for passing WindowOpenDisposition into BrowserInstantController::OpenURL() from the o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 }; 219 };
220 this.setRestrictedValue = function(resultId) { 220 this.setRestrictedValue = function(resultId) {
221 SetQueryFromAutocompleteResult(resultId); 221 SetQueryFromAutocompleteResult(resultId);
222 }; 222 };
223 this.show = function(reason, height) { 223 this.show = function(reason, height) {
224 Show(reason, height); 224 Show(reason, height);
225 }; 225 };
226 this.markDuplicateSuggestions = function(clientSuggestions) { 226 this.markDuplicateSuggestions = function(clientSuggestions) {
227 return DedupeClientSuggestions(clientSuggestions); 227 return DedupeClientSuggestions(clientSuggestions);
228 }; 228 };
229 this.navigateContentWindow = function(destination) { 229 this.navigateContentWindow = function(destination, disposition) {
230 return NavigateContentWindow(destination); 230 return NavigateContentWindow(destination, disposition);
231 }; 231 };
232 this.startCapturingKeyStrokes = function() { 232 this.startCapturingKeyStrokes = function() {
233 StartCapturingKeyStrokes(); 233 StartCapturingKeyStrokes();
234 }; 234 };
235 this.stopCapturingKeyStrokes = function() { 235 this.stopCapturingKeyStrokes = function() {
236 StopCapturingKeyStrokes(); 236 StopCapturingKeyStrokes();
237 }; 237 };
238 this.onchange = null; 238 this.onchange = null;
239 this.onsubmit = null; 239 this.onsubmit = null;
240 this.oncancel = null; 240 this.oncancel = null;
241 this.onresize = null; 241 this.onresize = null;
242 this.onautocompleteresults = null; 242 this.onautocompleteresults = null;
243 this.onkeypress = null; 243 this.onkeypress = null;
244 this.onkeycapturechange = null; 244 this.onkeycapturechange = null;
245 this.oncontextchange = null; 245 this.oncontextchange = null;
246 this.onmarginchange = null; 246 this.onmarginchange = null;
247 }; 247 };
248 } 248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698