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