Index: chrome/browser/ui/autofill/autofill_popup_controller.h |
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller.h b/chrome/browser/ui/autofill/autofill_popup_controller.h |
index c9aec43f61bde65157c3d88dd5d74b8f0c8a022a..e9f8d4aae48cd33ef03429d49102854babe02a29 100644 |
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h |
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h |
@@ -24,8 +24,9 @@ struct Suggestion; |
// This interface provides data to an AutofillPopupView. |
class AutofillPopupController : public AutofillPopupViewDelegate { |
public: |
- // Recalculates the height and width of the popup and triggers a redraw. |
- virtual void UpdateBoundsAndRedrawPopup() = 0; |
+ // Recalculates the height and width of the popup and triggers a redraw when |
+ // suggestions change. |
+ virtual void OnSuggestionsChanged() = 0; |
// Accepts the suggestion at |index|. |
virtual void AcceptSuggestion(size_t index) = 0; |