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

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 7 years, 11 months 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 }; 221 };
222 this.setRestrictedValue = function(resultId) { 222 this.setRestrictedValue = function(resultId) {
223 SetQueryFromAutocompleteResult(resultId); 223 SetQueryFromAutocompleteResult(resultId);
224 }; 224 };
225 this.show = function(reason, height) { 225 this.show = function(reason, height) {
226 Show(reason, height); 226 Show(reason, height);
227 }; 227 };
228 this.markDuplicateSuggestions = function(clientSuggestions) { 228 this.markDuplicateSuggestions = function(clientSuggestions) {
229 return DedupeClientSuggestions(clientSuggestions); 229 return DedupeClientSuggestions(clientSuggestions);
230 }; 230 };
231 this.navigateContentWindow = function(destination) { 231 this.navigateContentWindow = function(destination, disposition) {
232 return NavigateContentWindow(destination); 232 return NavigateContentWindow(destination, disposition);
233 }; 233 };
234 this.startCapturingKeyStrokes = function() { 234 this.startCapturingKeyStrokes = function() {
235 StartCapturingKeyStrokes(); 235 StartCapturingKeyStrokes();
236 }; 236 };
237 this.stopCapturingKeyStrokes = function() { 237 this.stopCapturingKeyStrokes = function() {
238 StopCapturingKeyStrokes(); 238 StopCapturingKeyStrokes();
239 }; 239 };
240 this.onchange = null; 240 this.onchange = null;
241 this.onsubmit = null; 241 this.onsubmit = null;
242 this.oncancel = null; 242 this.oncancel = null;
243 this.onresize = null; 243 this.onresize = null;
244 this.onautocompleteresults = null; 244 this.onautocompleteresults = null;
245 this.onkeypress = null; 245 this.onkeypress = null;
246 this.onkeycapturechange = null; 246 this.onkeycapturechange = null;
247 this.oncontextchange = null; 247 this.oncontextchange = null;
248 this.onmarginchange = null; 248 this.onmarginchange = null;
249 }; 249 };
250 } 250 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698