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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 bool CheckMediaAccessPermission(const GURL& security_origin, | 531 bool CheckMediaAccessPermission(const GURL& security_origin, |
532 MediaStreamType type) override; | 532 MediaStreamType type) override; |
533 SessionStorageNamespace* GetSessionStorageNamespace( | 533 SessionStorageNamespace* GetSessionStorageNamespace( |
534 SiteInstance* instance) override; | 534 SiteInstance* instance) override; |
535 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; | 535 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; |
536 FrameTree* GetFrameTree() override; | 536 FrameTree* GetFrameTree() override; |
537 void SetIsVirtualKeyboardRequested(bool requested) override; | 537 void SetIsVirtualKeyboardRequested(bool requested) override; |
538 bool IsVirtualKeyboardRequested() override; | 538 bool IsVirtualKeyboardRequested() override; |
539 bool IsOverridingUserAgent() override; | 539 bool IsOverridingUserAgent() override; |
540 double GetPendingPageZoomLevel() override; | 540 double GetPendingPageZoomLevel() override; |
| 541 void DidDisplayInsecureContent() override; |
| 542 void DidRunInsecureContent(const GURL& security_origin, |
| 543 const GURL& target_url) override; |
541 | 544 |
542 // NavigatorDelegate --------------------------------------------------------- | 545 // NavigatorDelegate --------------------------------------------------------- |
543 | 546 |
544 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 547 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
545 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 548 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
546 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 549 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
547 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 550 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
548 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 551 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
549 const GURL& validated_url, | 552 const GURL& validated_url, |
550 bool is_error_page, | 553 bool is_error_page, |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 // Adds/removes a callback called on creation of each new WebContents. | 1424 // Adds/removes a callback called on creation of each new WebContents. |
1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1425 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1426 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1424 | 1427 |
1425 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1428 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1426 }; | 1429 }; |
1427 | 1430 |
1428 } // namespace content | 1431 } // namespace content |
1429 | 1432 |
1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1433 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |