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..b0928563ed7a9539630766564b4773284f1c7e79 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_->PointPreselected(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_->PreselectionCleared(); |
return FALSE; |
} |
gboolean AutofillPopupViewGtk::HandleMotion(GtkWidget* widget, |
GdkEventMotion* event) { |
- controller_->MouseHovered(event->x, event->y); |
+ controller_->PointPreselected(event->x, event->y); |
return TRUE; |
} |
@@ -212,7 +212,7 @@ void AutofillPopupViewGtk::DrawSeparator(cairo_t* cairo_context, |
void AutofillPopupViewGtk::DrawAutofillEntry(cairo_t* cairo_context, |
size_t index, |
const gfx::Rect& entry_rect) { |
- if (controller_->selected_line() == static_cast<int>(index)) { |
+ if (controller_->preselected_line() == static_cast<int>(index)) { |
gdk_cairo_set_source_color(cairo_context, &kHoveredBackgroundColor); |
cairo_rectangle(cairo_context, entry_rect.x(), entry_rect.y(), |
entry_rect.width(), entry_rect.height()); |