| 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_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 virtual void SuspendMediaSession() = 0; | 714 virtual void SuspendMediaSession() = 0; |
| 715 // Requests to stop the current media session. | 715 // Requests to stop the current media session. |
| 716 virtual void StopMediaSession() = 0; | 716 virtual void StopMediaSession() = 0; |
| 717 | 717 |
| 718 // Called when the WebContents has displayed a password field on an | 718 // Called when the WebContents has displayed a password field on an |
| 719 // HTTP page. This method modifies the appropriate NavigationEntry's | 719 // HTTP page. This method modifies the appropriate NavigationEntry's |
| 720 // SSLStatus to record the sensitive input field, so that embedders | 720 // SSLStatus to record the sensitive input field, so that embedders |
| 721 // can adjust the UI if desired. | 721 // can adjust the UI if desired. |
| 722 virtual void OnPasswordInputShownOnHttp() = 0; | 722 virtual void OnPasswordInputShownOnHttp() = 0; |
| 723 | 723 |
| 724 // Called when the WebContents has hidden all password fields on an |
| 725 // HTTP page. This method modifies the appropriate NavigationEntry's |
| 726 // SSLStatus to remove the presence of sensitive input fields, so that |
| 727 // embedders can adjust the UI if desired. |
| 728 virtual void OnAllPasswordInputsHiddenOnHttp() = 0; |
| 729 |
| 724 // Called when the WebContents has displayed a credit card field on an | 730 // Called when the WebContents has displayed a credit card field on an |
| 725 // HTTP page. This method modifies the appropriate NavigationEntry's | 731 // HTTP page. This method modifies the appropriate NavigationEntry's |
| 726 // SSLStatus to record the sensitive input field, so that embedders | 732 // SSLStatus to record the sensitive input field, so that embedders |
| 727 // can adjust the UI if desired. | 733 // can adjust the UI if desired. |
| 728 virtual void OnCreditCardInputShownOnHttp() = 0; | 734 virtual void OnCreditCardInputShownOnHttp() = 0; |
| 729 | 735 |
| 730 // Sets whether the WebContents is for overlaying content on a page. | 736 // Sets whether the WebContents is for overlaying content on a page. |
| 731 virtual void SetIsOverlayContent(bool is_overlay_content) = 0; | 737 virtual void SetIsOverlayContent(bool is_overlay_content) = 0; |
| 732 | 738 |
| 733 #if defined(OS_ANDROID) | 739 #if defined(OS_ANDROID) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 764 | 770 |
| 765 private: | 771 private: |
| 766 // This interface should only be implemented inside content. | 772 // This interface should only be implemented inside content. |
| 767 friend class WebContentsImpl; | 773 friend class WebContentsImpl; |
| 768 WebContents() {} | 774 WebContents() {} |
| 769 }; | 775 }; |
| 770 | 776 |
| 771 } // namespace content | 777 } // namespace content |
| 772 | 778 |
| 773 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 779 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |