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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 940733002: Mac: Add more components of double-tap zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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 | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 0b3b836b24c8ac9f32e65b0bf3d78f7f0be56eb3..7774fa163694a959ddf410613f9935eb553da245 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -2277,6 +2277,9 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged(
}
- (void)smartMagnifyWithEvent:(NSEvent*)event {
+ const WebGestureEvent& smartMagnifyEvent =
+ WebInputEventFactory::gestureEvent(event, self);
+ ignore_result(smartMagnifyEvent);
Avi (use Gerrit) 2015/02/18 21:32:10 Heh!
}
// This is invoked only on 10.8 or newer when the user taps a word using
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698