| 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 4b4f7c6d8f540ce1d031f13100dc8f35b77504df..ec6572f9b9b3ad6f561b210bb983d875122eebd3 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_controller.h
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
|
| @@ -36,14 +36,17 @@ class AutofillPopupController {
|
| // Recalculates the height and width of the popup and triggers a redraw.
|
| virtual void UpdateBoundsAndRedrawPopup() = 0;
|
|
|
| - // The user has moved the mouse within the popup.
|
| - virtual void MouseHovered(int x, int y) = 0;
|
| + // The user selected the line at (x, y), e.g. by hovering the mouse cursor.
|
| + // |x| and |y| must be in the popup coordinates.
|
| + virtual void LineSelectedAtPoint(int x, int y) = 0;
|
|
|
| - // The user clicked the mouse within the popup.
|
| - virtual void MouseClicked(int x, int y) = 0;
|
| + // The user accepted the line at (x, y); e.g., by clicking on it using the
|
| + // mouse. |x| and |y| must be in the popup coordinates.
|
| + virtual void LineAcceptedAtPoint(int x, int y) = 0;
|
|
|
| - // The user has moved the mouse outside of the popup.
|
| - virtual void MouseExitedPopup() = 0;
|
| + // The user cleared the selected line, e.g. by moving the mouse cursor out of
|
| + // the popup bounds.
|
| + virtual void SelectionCleared() = 0;
|
|
|
| // Whether |event| should be reposted to the native window management.
|
| virtual bool ShouldRepostEvent(const ui::MouseEvent& event) = 0;
|
|
|