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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller.h

Issue 44543002: Enable touch for autofill popup view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved comments Created 7 years, 1 month 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/ui/autofill/autofill_popup_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698