Chromium Code Reviews| Index: ui/views/cocoa/bridged_content_view.mm |
| diff --git a/ui/views/cocoa/bridged_content_view.mm b/ui/views/cocoa/bridged_content_view.mm |
| index d1df25251c718fc27151643c891160406a6f233b..cbb4727d0fa6447a602e0b2976bb51186e7ef97f 100644 |
| --- a/ui/views/cocoa/bridged_content_view.mm |
| +++ b/ui/views/cocoa/bridged_content_view.mm |
| @@ -618,6 +618,11 @@ - (void)mouseEvent:(NSEvent*)theEvent { |
| hostedView_->GetWidget()->OnMouseEvent(&event); |
| } |
| +- (void)forceTouchEvent:(NSEvent*)theEvent { |
| + // Perform word lookup on force touch. |
|
tapted
2016/12/19 04:04:33
The comment probably isn't necessary, but I think
karandeepb
2016/12/19 04:28:20
Oh yeah, thanks for catching this.
|
| + [self quickLookWithEvent:theEvent]; |
| +} |
| + |
| // NSView implementation. |
| - (BOOL)acceptsFirstResponder { |