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

Unified Diff: chrome/browser/autocomplete/autocomplete.h

Issue 119116: Fix crash due to AutocompletePopup trying to draw the old results when they w... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete.h
===================================================================
--- chrome/browser/autocomplete/autocomplete.h (revision 17436)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -736,10 +736,12 @@
// all providers will be done immediately.
//
// The controller will fire
- // NOTIFY_AUTOCOMPLETE_CONTROLLER_SYNCHRONOUS_RESULTS_AVAILABLE from inside
- // this call, and unless the query is stopped, will fire at least one (and
- // prehaps more) NOTIFY_AUTOCOMPLETE_CONTROLLER_RESULTS_UPDATED later as more
- // results come in (even if the query completes synchronously).
+ // AUTOCOMPLETE_CONTROLLER_SYNCHRONOUS_MATCHES_AVAILABLE from inside this
+ // call, and unless the query is stopped, will fire at least one (and perhaps
+ // more) AUTOCOMPLETE_CONTROLLER_RESULT_UPDATED later as more results come in
+ // (even if the query completes synchronously). Listeners should use the
+ // result set provided in the accompanying Details object to update
+ // themselves.
void Start(const std::wstring& text,
const std::wstring& desired_tld,
bool prevent_inline_autocomplete,
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698