| 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents, | 294 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents, |
| 295 bool allowed_per_prefs, | 295 bool allowed_per_prefs, |
| 296 const url::Origin& origin, | 296 const url::Origin& origin, |
| 297 const GURL& resource_url); | 297 const GURL& resource_url); |
| 298 | 298 |
| 299 #if defined(OS_ANDROID) | 299 #if defined(OS_ANDROID) |
| 300 virtual base::android::ScopedJavaLocalRef<jobject> | 300 virtual base::android::ScopedJavaLocalRef<jobject> |
| 301 GetJavaRenderFrameHostDelegate(); | 301 GetJavaRenderFrameHostDelegate(); |
| 302 #endif | 302 #endif |
| 303 | 303 |
| 304 // Whether the delegate is being destroyed, in which case the RenderFrameHost |
| 305 // should not be asked to create a RenderFrame. |
| 306 virtual bool IsBeingDestroyed() const; |
| 307 |
| 304 protected: | 308 protected: |
| 305 virtual ~RenderFrameHostDelegate() {} | 309 virtual ~RenderFrameHostDelegate() {} |
| 306 }; | 310 }; |
| 307 | 311 |
| 308 } // namespace content | 312 } // namespace content |
| 309 | 313 |
| 310 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 314 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |