Index: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
index 98325f594dc4428520245cfb6b9150e801006fb6..7c613fcee50d447606e1431b6ee8c315e2af9151 100644 |
--- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
@@ -117,7 +117,7 @@ gboolean AutofillPopupViewGtk::HandleButtonRelease(GtkWidget* widget, |
if (event->button != 1) |
return FALSE; |
- controller_->MouseClicked(event->x, event->y); |
+ controller_->LineAcceptedAtPoint(event->x, event->y); |
return TRUE; |
} |
@@ -158,14 +158,14 @@ gboolean AutofillPopupViewGtk::HandleExpose(GtkWidget* widget, |
gboolean AutofillPopupViewGtk::HandleLeave(GtkWidget* widget, |
GdkEventCrossing* event) { |
- controller_->MouseExitedPopup(); |
+ controller_->SelectionCleared(); |
return FALSE; |
} |
gboolean AutofillPopupViewGtk::HandleMotion(GtkWidget* widget, |
GdkEventMotion* event) { |
- controller_->MouseHovered(event->x, event->y); |
+ controller_->LineSelectedAtPoint(event->x, event->y); |
return TRUE; |
} |