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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; | 552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; |
553 double GetPendingPageZoomLevel() override; | 553 double GetPendingPageZoomLevel() override; |
554 FrameTree* GetFrameTree() override; | 554 FrameTree* GetFrameTree() override; |
555 void SetIsVirtualKeyboardRequested(bool requested) override; | 555 void SetIsVirtualKeyboardRequested(bool requested) override; |
556 bool IsVirtualKeyboardRequested() override; | 556 bool IsVirtualKeyboardRequested() override; |
557 bool IsOverridingUserAgent() override; | 557 bool IsOverridingUserAgent() override; |
558 bool IsJavaScriptDialogShowing() const override; | 558 bool IsJavaScriptDialogShowing() const override; |
559 bool HideDownloadUI() const override; | 559 bool HideDownloadUI() const override; |
560 bool IsFocusedElementEditable() override; | 560 bool IsFocusedElementEditable() override; |
561 void ClearFocusedElement() override; | 561 void ClearFocusedElement() override; |
| 562 void DidDisplayInsecureContent() override; |
| 563 void DidRunInsecureContent(const GURL& security_origin, |
| 564 const GURL& target_url) override; |
562 | 565 |
563 // NavigatorDelegate --------------------------------------------------------- | 566 // NavigatorDelegate --------------------------------------------------------- |
564 | 567 |
565 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 568 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 569 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 570 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
568 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 571 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 572 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
570 const GURL& validated_url, | 573 const GURL& validated_url, |
571 bool is_error_page) override; | 574 bool is_error_page) override; |
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1516 // Adds/removes a callback called on creation of each new WebContents. | 1519 // Adds/removes a callback called on creation of each new WebContents. |
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1519 | 1522 |
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1523 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1521 }; | 1524 }; |
1522 | 1525 |
1523 } // namespace content | 1526 } // namespace content |
1524 | 1527 |
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |