| 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( |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 return NULL; | 33 return NULL; |
| 34 } | 34 } |
| 35 | 35 |
| 36 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
| 37 gfx::NativeViewAccessible | 37 gfx::NativeViewAccessible |
| 38 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { | 38 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { |
| 39 return NULL; | 39 return NULL; |
| 40 } | 40 } |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 // If a delegate does not override this, the RenderWidgetHostView will |
| 44 // assume it is the sole platform event consumer. |
| 45 RenderWidgetHostInputEventRouter* |
| 46 RenderWidgetHostDelegate::GetInputEventRouter() { |
| 47 return nullptr; |
| 48 } |
| 49 |
| 43 } // namespace content | 50 } // namespace content |
| OLD | NEW |