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 "content/browser/renderer_host/render_widget_host_delegate.h" | 5 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "components/rappor/public/sample.h" | 8 #include "components/rappor/public/sample.h" |
9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
10 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( | 65 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( |
66 RenderWidgetHostImpl* render_widget_host) const { | 66 RenderWidgetHostImpl* render_widget_host) const { |
67 return blink::WebDisplayModeBrowser; | 67 return blink::WebDisplayModeBrowser; |
68 } | 68 } |
69 | 69 |
70 bool RenderWidgetHostDelegate::HasMouseLock( | 70 bool RenderWidgetHostDelegate::HasMouseLock( |
71 RenderWidgetHostImpl* render_widget_host) { | 71 RenderWidgetHostImpl* render_widget_host) { |
72 return false; | 72 return false; |
73 } | 73 } |
74 | 74 |
| 75 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetMouseLockWidget() { |
| 76 return nullptr; |
| 77 } |
| 78 |
75 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() { | 79 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() { |
76 return nullptr; | 80 return nullptr; |
77 } | 81 } |
78 | 82 |
79 bool RenderWidgetHostDelegate::IsHidden() { | 83 bool RenderWidgetHostDelegate::IsHidden() { |
80 return false; | 84 return false; |
81 } | 85 } |
82 | 86 |
83 RenderViewHostDelegateView* RenderWidgetHostDelegate::GetDelegateView() { | 87 RenderViewHostDelegateView* RenderWidgetHostDelegate::GetDelegateView() { |
84 return nullptr; | 88 return nullptr; |
(...skipping 12 matching lines...) Expand all Loading... |
97 rappor::Sample* sample) { | 101 rappor::Sample* sample) { |
98 sample->SetStringField("Domain", "Unknown"); | 102 sample->SetStringField("Domain", "Unknown"); |
99 return false; | 103 return false; |
100 } | 104 } |
101 | 105 |
102 WebContents* RenderWidgetHostDelegate::GetAsWebContents() { | 106 WebContents* RenderWidgetHostDelegate::GetAsWebContents() { |
103 return nullptr; | 107 return nullptr; |
104 } | 108 } |
105 | 109 |
106 } // namespace content | 110 } // namespace content |
OLD | NEW |