| 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 "build/build_config.h" | 5 #include "build/build_config.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 #include "ui/gfx/geometry/rect.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 BrowserAccessibilityManager* | 27 BrowserAccessibilityManager* |
| 28 RenderWidgetHostDelegate::GetRootBrowserAccessibilityManager() { | 28 RenderWidgetHostDelegate::GetRootBrowserAccessibilityManager() { |
| 29 return NULL; | 29 return NULL; |
| 30 } | 30 } |
| 31 | 31 |
| 32 BrowserAccessibilityManager* | 32 BrowserAccessibilityManager* |
| 33 RenderWidgetHostDelegate::GetOrCreateRootBrowserAccessibilityManager() { | 33 RenderWidgetHostDelegate::GetOrCreateRootBrowserAccessibilityManager() { |
| 34 return NULL; | 34 return NULL; |
| 35 } | 35 } |
| 36 | 36 |
| 37 #if defined(OS_WIN) | |
| 38 gfx::NativeViewAccessible | |
| 39 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { | |
| 40 return NULL; | |
| 41 } | |
| 42 #endif | |
| 43 | |
| 44 // If a delegate does not override this, the RenderWidgetHostView will | 37 // If a delegate does not override this, the RenderWidgetHostView will |
| 45 // assume it is the sole platform event consumer. | 38 // assume it is the sole platform event consumer. |
| 46 RenderWidgetHostInputEventRouter* | 39 RenderWidgetHostInputEventRouter* |
| 47 RenderWidgetHostDelegate::GetInputEventRouter() { | 40 RenderWidgetHostDelegate::GetInputEventRouter() { |
| 48 return nullptr; | 41 return nullptr; |
| 49 } | 42 } |
| 50 | 43 |
| 51 // If a delegate does not override this, the RenderWidgetHostView will | 44 // If a delegate does not override this, the RenderWidgetHostView will |
| 52 // assume its own RenderWidgetHost should consume keyboard events. | 45 // assume its own RenderWidgetHost should consume keyboard events. |
| 53 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( | 46 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( |
| (...skipping 10 matching lines...) Expand all Loading... |
| 64 RenderWidgetHostImpl* render_widget_host) const { | 57 RenderWidgetHostImpl* render_widget_host) const { |
| 65 return false; | 58 return false; |
| 66 } | 59 } |
| 67 | 60 |
| 68 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( | 61 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( |
| 69 RenderWidgetHostImpl* render_widget_host) const { | 62 RenderWidgetHostImpl* render_widget_host) const { |
| 70 return blink::WebDisplayModeBrowser; | 63 return blink::WebDisplayModeBrowser; |
| 71 } | 64 } |
| 72 | 65 |
| 73 } // namespace content | 66 } // namespace content |
| OLD | NEW |