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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 6 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( | 10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( |
11 const NativeWebKeyboardEvent& event, | 11 const NativeWebKeyboardEvent& event, |
12 bool* is_keyboard_shortcut) { | 12 bool* is_keyboard_shortcut) { |
13 return false; | 13 return false; |
14 } | 14 } |
15 | 15 |
16 bool RenderWidgetHostDelegate::HandleWheelEvent( | 16 bool RenderWidgetHostDelegate::HandleWheelEvent( |
17 const blink::WebMouseWheelEvent& event) { | 17 const blink::WebMouseWheelEvent& event) { |
18 return false; | 18 return false; |
19 } | 19 } |
20 | 20 |
21 bool RenderWidgetHostDelegate::PreHandleGestureEvent( | 21 bool RenderWidgetHostDelegate::PreHandleGestureEvent( |
22 const blink::WebGestureEvent& event) { | 22 const blink::WebGestureEvent& event) { |
23 return false; | 23 return false; |
24 } | 24 } |
25 | 25 |
26 bool RenderWidgetHostDelegate::HandleGestureEvent( | |
27 const blink::WebGestureEvent& event) { | |
28 return false; | |
29 } | |
30 | |
31 BrowserAccessibilityManager* | 26 BrowserAccessibilityManager* |
32 RenderWidgetHostDelegate::GetRootBrowserAccessibilityManager() { | 27 RenderWidgetHostDelegate::GetRootBrowserAccessibilityManager() { |
33 return NULL; | 28 return NULL; |
34 } | 29 } |
35 | 30 |
36 BrowserAccessibilityManager* | 31 BrowserAccessibilityManager* |
37 RenderWidgetHostDelegate::GetOrCreateRootBrowserAccessibilityManager() { | 32 RenderWidgetHostDelegate::GetOrCreateRootBrowserAccessibilityManager() { |
38 return NULL; | 33 return NULL; |
39 } | 34 } |
40 | 35 |
41 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
42 gfx::NativeViewAccessible | 37 gfx::NativeViewAccessible |
43 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { | 38 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { |
44 return NULL; | 39 return NULL; |
45 } | 40 } |
46 #endif | 41 #endif |
47 | 42 |
48 } // namespace content | 43 } // namespace content |
OLD | NEW |