| 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 "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/browser/frame_host/render_frame_host_delegate.h" | 10 #include "content/browser/frame_host/render_frame_host_delegate.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #if defined(OS_ANDROID) | 84 #if defined(OS_ANDROID) |
| 85 void RenderFrameHostDelegate::GetNFC(device::mojom::NFCRequest request) {} | 85 void RenderFrameHostDelegate::GetNFC(device::mojom::NFCRequest request) {} |
| 86 #endif | 86 #endif |
| 87 | 87 |
| 88 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( | 88 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( |
| 89 RenderFrameHost* target_rfh, | 89 RenderFrameHost* target_rfh, |
| 90 SiteInstance* source_site_instance) const { | 90 SiteInstance* source_site_instance) const { |
| 91 return false; | 91 return false; |
| 92 } | 92 } |
| 93 | 93 |
| 94 RenderFrameHost* |
| 95 RenderFrameHostDelegate::GetFocusedFrameIncludingInnerWebContents() { |
| 96 return nullptr; |
| 97 } |
| 98 |
| 94 std::unique_ptr<WebUIImpl> | 99 std::unique_ptr<WebUIImpl> |
| 95 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { | 100 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { |
| 96 return nullptr; | 101 return nullptr; |
| 97 } | 102 } |
| 98 | 103 |
| 99 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( | 104 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( |
| 100 WebContents* web_contents, | 105 WebContents* web_contents, |
| 101 bool allowed_per_prefs, | 106 bool allowed_per_prefs, |
| 102 const url::Origin& origin, | 107 const url::Origin& origin, |
| 103 const GURL& resource_url) { | 108 const GURL& resource_url) { |
| 104 return false; | 109 return false; |
| 105 } | 110 } |
| 106 | 111 |
| 107 #if defined(OS_ANDROID) | 112 #if defined(OS_ANDROID) |
| 108 base::android::ScopedJavaLocalRef<jobject> | 113 base::android::ScopedJavaLocalRef<jobject> |
| 109 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { | 114 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { |
| 110 return nullptr; | 115 return nullptr; |
| 111 } | 116 } |
| 112 #endif | 117 #endif |
| 113 | 118 |
| 114 bool RenderFrameHostDelegate::IsBeingDestroyed() const { | 119 bool RenderFrameHostDelegate::IsBeingDestroyed() const { |
| 115 return false; | 120 return false; |
| 116 } | 121 } |
| 117 | 122 |
| 118 } // namespace content | 123 } // namespace content |
| OLD | NEW |