| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 const gfx::Rect& initial_rect, | 509 const gfx::Rect& initial_rect, |
| 510 bool user_gesture) override; | 510 bool user_gesture) override; |
| 511 void DidDisplayInsecureContent() override; | 511 void DidDisplayInsecureContent() override; |
| 512 void DidRunInsecureContent(const GURL& security_origin, | 512 void DidRunInsecureContent(const GURL& security_origin, |
| 513 const GURL& target_url) override; | 513 const GURL& target_url) override; |
| 514 void PassiveInsecureContentFound(const GURL& resource_url) override; | 514 void PassiveInsecureContentFound(const GURL& resource_url) override; |
| 515 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents, | 515 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents, |
| 516 bool allowed_per_prefs, | 516 bool allowed_per_prefs, |
| 517 const url::Origin& origin, | 517 const url::Origin& origin, |
| 518 const GURL& resource_url) override; | 518 const GURL& resource_url) override; |
| 519 #if defined(OS_ANDROID) |
| 520 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHostDelegate() |
| 521 override; |
| 522 #endif |
| 519 | 523 |
| 520 // RenderViewHostDelegate ---------------------------------------------------- | 524 // RenderViewHostDelegate ---------------------------------------------------- |
| 521 RenderViewHostDelegateView* GetDelegateView() override; | 525 RenderViewHostDelegateView* GetDelegateView() override; |
| 522 bool OnMessageReceived(RenderViewHostImpl* render_view_host, | 526 bool OnMessageReceived(RenderViewHostImpl* render_view_host, |
| 523 const IPC::Message& message) override; | 527 const IPC::Message& message) override; |
| 524 // RenderFrameHostDelegate has the same method, so list it there because this | 528 // RenderFrameHostDelegate has the same method, so list it there because this |
| 525 // interface is going away. | 529 // interface is going away. |
| 526 // WebContents* GetAsWebContents() override; | 530 // WebContents* GetAsWebContents() override; |
| 527 void RenderViewCreated(RenderViewHost* render_view_host) override; | 531 void RenderViewCreated(RenderViewHost* render_view_host) override; |
| 528 void RenderViewReady(RenderViewHost* render_view_host) override; | 532 void RenderViewReady(RenderViewHost* render_view_host) override; |
| (...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 // Adds/removes a callback called on creation of each new WebContents. | 1548 // Adds/removes a callback called on creation of each new WebContents. |
| 1545 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1549 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1546 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1550 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1547 | 1551 |
| 1548 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1552 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1549 }; | 1553 }; |
| 1550 | 1554 |
| 1551 } // namespace content | 1555 } // namespace content |
| 1552 | 1556 |
| 1553 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1557 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |