Chromium Code Reviews| Index: chrome/renderer/searchbox_extension.cc |
| diff --git a/chrome/renderer/searchbox_extension.cc b/chrome/renderer/searchbox_extension.cc |
| index 2e268640cceb4c6b70d682e850338c9673ac3bda..5a8707fc23396b1d683409f34e15819bdd314af5 100644 |
| --- a/chrome/renderer/searchbox_extension.cc |
| +++ b/chrome/renderer/searchbox_extension.cc |
| @@ -73,14 +73,13 @@ static const char kResizeEventName[] = "chrome.searchBox.onresize"; |
| // Script sent as the user is typing and the provider supports instant. |
| // Params: |
| // . the text the user typed. |
| -// TODO: add support for the 3rd param. '46' forces the server to give us |
| -// verbatim results. |
| +// '46' forces the server to give us verbatim results. |
| static const char kUserInputScript[] = |
| "if (window.chrome.userInput)" |
| " window.chrome.userInput(" |
| " window.chrome.searchBox.value," |
| " window.chrome.searchBox.verbatim ? 46 : 0," |
| - " 0);"; |
| + " window.chrome.searchBox.selection_start);"; |
|
tonyg
2011/01/14 18:53:27
s/selection_start/selectionStart/
|
| // Script sent when the page is committed and the provider supports instant. |
| // Params: |