| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "content/browser/frame_host/render_frame_host_delegate.h" | 9 #include "content/browser/frame_host/render_frame_host_delegate.h" |
| 10 #include "ipc/ipc_message.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| 15 bool RenderFrameHostDelegate::OnMessageReceived( | 16 bool RenderFrameHostDelegate::OnMessageReceived( |
| 16 RenderFrameHost* render_view_host, | 17 RenderFrameHost* render_view_host, |
| 17 const IPC::Message& message) { | 18 const IPC::Message& message) { |
| 18 return false; | 19 return false; |
| 19 } | 20 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 RenderFrameHost* render_frame_host, | 63 RenderFrameHost* render_frame_host, |
| 63 int browser_plugin_instance_id) { | 64 int browser_plugin_instance_id) { |
| 64 return NULL; | 65 return NULL; |
| 65 } | 66 } |
| 66 | 67 |
| 67 GeolocationServiceContext* | 68 GeolocationServiceContext* |
| 68 RenderFrameHostDelegate::GetGeolocationServiceContext() { | 69 RenderFrameHostDelegate::GetGeolocationServiceContext() { |
| 69 return NULL; | 70 return NULL; |
| 70 } | 71 } |
| 71 | 72 |
| 73 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( |
| 74 RenderFrameHost* target_rfh, |
| 75 SiteInstance* source_site_instance) const { |
| 76 return false; |
| 77 } |
| 78 |
| 79 int RenderFrameHostDelegate::EnsureOpenerRenderViewsExist( |
| 80 RenderFrameHost* render_frame_host) { |
| 81 return MSG_ROUTING_NONE; |
| 82 } |
| 83 |
| 72 #if defined(OS_WIN) | 84 #if defined(OS_WIN) |
| 73 gfx::NativeViewAccessible | 85 gfx::NativeViewAccessible |
| 74 RenderFrameHostDelegate::GetParentNativeViewAccessible() { | 86 RenderFrameHostDelegate::GetParentNativeViewAccessible() { |
| 75 return NULL; | 87 return NULL; |
| 76 } | 88 } |
| 77 #endif // defined(OS_WIN) | 89 #endif // defined(OS_WIN) |
| 78 | 90 |
| 79 } // namespace content | 91 } // namespace content |
| OLD | NEW |