| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 94 } |
| 95 | 95 |
| 96 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( | 96 bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent( |
| 97 WebContents* web_contents, | 97 WebContents* web_contents, |
| 98 bool allowed_per_prefs, | 98 bool allowed_per_prefs, |
| 99 const url::Origin& origin, | 99 const url::Origin& origin, |
| 100 const GURL& resource_url) { | 100 const GURL& resource_url) { |
| 101 return false; | 101 return false; |
| 102 } | 102 } |
| 103 | 103 |
| 104 #if defined(OS_ANDROID) |
| 105 base::android::ScopedJavaLocalRef<jobject> |
| 106 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { |
| 107 return nullptr; |
| 108 } |
| 109 #endif |
| 110 |
| 104 } // namespace content | 111 } // namespace content |
| OLD | NEW |