| OLD | NEW |
| 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::PreHandleWheelEvent( | 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 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
| 26 gfx::NativeViewAccessible | 26 gfx::NativeViewAccessible |
| 27 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { | 27 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { |
| 28 return NULL; | 28 return NULL; |
| 29 } | 29 } |
| 30 #endif | 30 #endif |
| 31 | 31 |
| 32 } // namespace content | 32 } // namespace content |
| OLD | NEW |