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

Side by Side Diff: content/browser/renderer_host/render_widget_host_delegate.cc

Issue 181723006: Handle mac trackpad zoom via GesturePinch events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jdduke CR feedback and fix win build errors Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_widget_host_delegate.h" 5 #include "content/browser/renderer_host/render_widget_host_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( 9 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
10 const NativeWebKeyboardEvent& event, 10 const NativeWebKeyboardEvent& event,
11 bool* is_keyboard_shortcut) { 11 bool* is_keyboard_shortcut) {
12 return false; 12 return false;
13 } 13 }
14 14
15 bool RenderWidgetHostDelegate::HandleWheelEvent( 15 bool RenderWidgetHostDelegate::HandleWheelEvent(
16 const blink::WebMouseWheelEvent& event) { 16 const blink::WebMouseWheelEvent& event) {
17 return false; 17 return false;
18 } 18 }
19 19
20 bool RenderWidgetHostDelegate::PreHandleGestureEvent( 20 bool RenderWidgetHostDelegate::PreHandleGestureEvent(
21 const blink::WebGestureEvent& event) { 21 const blink::WebGestureEvent& event) {
22 return false; 22 return false;
23 } 23 }
24 24
25 bool RenderWidgetHostDelegate::HandleGestureEvent(
26 const blink::WebGestureEvent& event) {
27 return false;
28 }
29
25 #if defined(OS_WIN) 30 #if defined(OS_WIN)
26 gfx::NativeViewAccessible 31 gfx::NativeViewAccessible
27 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { 32 RenderWidgetHostDelegate::GetParentNativeViewAccessible() {
28 return NULL; 33 return NULL;
29 } 34 }
30 #endif 35 #endif
31 36
32 } // namespace content 37 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698