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 #include "ui/gfx/geometry/rect.h" |
7 | 8 |
8 namespace content { | 9 namespace content { |
9 | 10 |
10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( | 11 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( |
11 const NativeWebKeyboardEvent& event, | 12 const NativeWebKeyboardEvent& event, |
12 bool* is_keyboard_shortcut) { | 13 bool* is_keyboard_shortcut) { |
13 return false; | 14 return false; |
14 } | 15 } |
15 | 16 |
16 bool RenderWidgetHostDelegate::HandleWheelEvent( | 17 bool RenderWidgetHostDelegate::HandleWheelEvent( |
(...skipping 23 matching lines...) Expand all Loading... |
40 } | 41 } |
41 #endif | 42 #endif |
42 | 43 |
43 // If a delegate does not override this, the RenderWidgetHostView will | 44 // If a delegate does not override this, the RenderWidgetHostView will |
44 // assume it is the sole platform event consumer. | 45 // assume it is the sole platform event consumer. |
45 RenderWidgetHostInputEventRouter* | 46 RenderWidgetHostInputEventRouter* |
46 RenderWidgetHostDelegate::GetInputEventRouter() { | 47 RenderWidgetHostDelegate::GetInputEventRouter() { |
47 return nullptr; | 48 return nullptr; |
48 } | 49 } |
49 | 50 |
| 51 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect( |
| 52 RenderWidgetHostImpl* render_widget_host) const { |
| 53 return gfx::Rect(); |
| 54 }; |
| 55 |
50 } // namespace content | 56 } // namespace content |
OLD | NEW |