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 "content/browser/renderer_host/render_view_host_delegate_view.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
9 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 void RenderWidgetHostDelegate::GetScreenInfo(ScreenInfo*) {} | 14 void RenderWidgetHostDelegate::GetScreenInfo(ScreenInfo*) {} |
14 | 15 |
15 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( | 16 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( |
16 const NativeWebKeyboardEvent& event, | 17 const NativeWebKeyboardEvent& event, |
17 bool* is_keyboard_shortcut) { | 18 bool* is_keyboard_shortcut) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 86 |
86 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost() | 87 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost() |
87 const { | 88 const { |
88 return nullptr; | 89 return nullptr; |
89 } | 90 } |
90 | 91 |
91 bool RenderWidgetHostDelegate::OnUpdateDragCursor() { | 92 bool RenderWidgetHostDelegate::OnUpdateDragCursor() { |
92 return false; | 93 return false; |
93 } | 94 } |
94 | 95 |
| 96 bool RenderWidgetHostDelegate::AddDomainInfoToRapporSample( |
| 97 rappor::Sample* sample) { |
| 98 sample->SetStringField("Domain", "Unknown"); |
| 99 return false; |
| 100 } |
| 101 |
95 } // namespace content | 102 } // namespace content |
OLD | NEW |