| Index: chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| index 7989d864dbbc6ae708986a8c7ea4656a321a5926..f8699fee9cbc1033f8c684e3bfc35f5737015656 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| @@ -158,8 +158,8 @@ NSColor* SubtextColor() {
|
| fromView:nil];
|
|
|
| if (NSPointInRect(location, [self bounds])) {
|
| - controller_->MouseClicked(static_cast<int>(location.x),
|
| - static_cast<int>(location.y));
|
| + controller_->LineAcceptedAtPoint(static_cast<int>(location.x),
|
| + static_cast<int>(location.y));
|
| }
|
| }
|
|
|
| @@ -171,8 +171,8 @@ NSColor* SubtextColor() {
|
| NSPoint location = [self convertPoint:[theEvent locationInWindow]
|
| fromView:nil];
|
|
|
| - controller_->MouseHovered(static_cast<int>(location.x),
|
| - static_cast<int>(location.y));
|
| + controller_->LineSelectedAtPoint(static_cast<int>(location.x),
|
| + static_cast<int>(location.y));
|
| }
|
|
|
| - (void)mouseDragged:(NSEvent*)theEvent {
|
| @@ -184,7 +184,7 @@ NSColor* SubtextColor() {
|
| if (!controller_)
|
| return;
|
|
|
| - controller_->MouseExitedPopup();
|
| + controller_->SelectionCleared();
|
| }
|
|
|
| #pragma mark -
|
|
|