Index: chrome/browser/autocomplete/autocomplete_popup_model.h |
diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h |
index ee1fef0090bfa736cd2ae9438c48113d4ff77375..52b988ed7cc988f1e5844a35e8b719869204fccd 100644 |
--- a/chrome/browser/autocomplete/autocomplete_popup_model.h |
+++ b/chrome/browser/autocomplete/autocomplete_popup_model.h |
@@ -71,9 +71,11 @@ class AutocompletePopupModel : public NotificationObserver { |
// |reset_to_default| is true when the selection is being reset back to the |
// default match, and thus there is no temporary text (and no |
// |manually_selected_match_|). |
+ // If |force| is true then the selected line will be updated forcibly even if |
Peter Kasting
2011/01/25 21:18:24
Nit: No need for a linebreak before this line.
James Su
2011/01/25 21:47:03
Done.
|
+ // the |line| is same as the current selected line. |
// NOTE: This assumes the popup is open, and thus both old and new values for |
// the selected line should not be kNoMatch. |
- void SetSelectedLine(size_t line, bool reset_to_default); |
+ void SetSelectedLine(size_t line, bool reset_to_default, bool force); |
// Called when the user hits escape after arrowing around the popup. This |
// will change the selected line back to the default match and redraw. |