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 29 matching lines...) Expand all Loading... |
40 } | 40 } |
41 #endif | 41 #endif |
42 | 42 |
43 // If a delegate does not override this, the RenderWidgetHostView will | 43 // If a delegate does not override this, the RenderWidgetHostView will |
44 // assume it is the sole platform event consumer. | 44 // assume it is the sole platform event consumer. |
45 RenderWidgetHostInputEventRouter* | 45 RenderWidgetHostInputEventRouter* |
46 RenderWidgetHostDelegate::GetInputEventRouter() { | 46 RenderWidgetHostDelegate::GetInputEventRouter() { |
47 return nullptr; | 47 return nullptr; |
48 } | 48 } |
49 | 49 |
50 // If a delegate does not override this, the RenderWidgetHostView will | |
51 // assume its own RenderWidgetHost should consume keyboard events. | |
52 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost() { | |
53 return nullptr; | |
54 } | |
55 | |
56 } // namespace content | 50 } // namespace content |
OLD | NEW |