| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 device::GeolocationServiceContext* | 75 device::GeolocationServiceContext* |
| 76 RenderFrameHostDelegate::GetGeolocationServiceContext() { | 76 RenderFrameHostDelegate::GetGeolocationServiceContext() { |
| 77 return nullptr; | 77 return nullptr; |
| 78 } | 78 } |
| 79 | 79 |
| 80 device::mojom::WakeLockService* RenderFrameHostDelegate::GetRendererWakeLock() { | 80 device::mojom::WakeLockService* RenderFrameHostDelegate::GetRendererWakeLock() { |
| 81 return nullptr; | 81 return nullptr; |
| 82 } | 82 } |
| 83 | 83 |
| 84 void RenderFrameHostDelegate::GetNFC(device::nfc::mojom::NFCRequest request) {} |
| 85 |
| 84 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( | 86 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( |
| 85 RenderFrameHost* target_rfh, | 87 RenderFrameHost* target_rfh, |
| 86 SiteInstance* source_site_instance) const { | 88 SiteInstance* source_site_instance) const { |
| 87 return false; | 89 return false; |
| 88 } | 90 } |
| 89 | 91 |
| 90 std::unique_ptr<WebUIImpl> | 92 std::unique_ptr<WebUIImpl> |
| 91 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { | 93 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { |
| 92 return nullptr; | 94 return nullptr; |
| 93 } | 95 } |
| 94 | 96 |
| 95 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( | 97 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( |
| 96 WebContents* web_contents, | 98 WebContents* web_contents, |
| 97 bool allowed_per_prefs, | 99 bool allowed_per_prefs, |
| 98 const url::Origin& origin, | 100 const url::Origin& origin, |
| 99 const GURL& resource_url) { | 101 const GURL& resource_url) { |
| 100 return false; | 102 return false; |
| 101 } | 103 } |
| 102 | 104 |
| 103 #if defined(OS_ANDROID) | 105 #if defined(OS_ANDROID) |
| 104 base::android::ScopedJavaLocalRef<jobject> | 106 base::android::ScopedJavaLocalRef<jobject> |
| 105 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { | 107 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { |
| 106 return nullptr; | 108 return nullptr; |
| 107 } | 109 } |
| 108 #endif | 110 #endif |
| 109 | 111 |
| 110 } // namespace content | 112 } // namespace content |
| OLD | NEW |