Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: content/public/browser/web_contents.h

Issue 2362523003: Add (some) password detection for HTTP-bad (Closed)
Patch Set: trigger the downgrade from OnPasswordFormsParsed Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <set> 10 #include <set>
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 // as soon as they are ready. 713 // as soon as they are ready.
714 virtual void ResumeLoadingCreatedWebContents() = 0; 714 virtual void ResumeLoadingCreatedWebContents() = 0;
715 715
716 // Requests to resume the current media session. 716 // Requests to resume the current media session.
717 virtual void ResumeMediaSession() = 0; 717 virtual void ResumeMediaSession() = 0;
718 // Requests to suspend the current media session. 718 // Requests to suspend the current media session.
719 virtual void SuspendMediaSession() = 0; 719 virtual void SuspendMediaSession() = 0;
720 // Requests to stop the current media session. 720 // Requests to stop the current media session.
721 virtual void StopMediaSession() = 0; 721 virtual void StopMediaSession() = 0;
722 722
723 // Called when the WebContents has displayed a password field on an
724 // HTTP page. This method modifies the appropriate NavigationEntry's
725 // SSLStatus to record the sensitive input field, so that embedders
726 // can adjust the UI if desired.
727 virtual void OnPasswordInputShownOnHttp() = 0;
728
729 // Called when the WebContents has displayed a credit card field on an
730 // HTTP page. This method modifies the appropriate NavigationEntry's
731 // SSLStatus to record the sensitive input field, so that embedders
732 // can adjust the UI if desired.
733 virtual void OnCreditCardInputShownOnHttp() = 0;
734
723 #if defined(OS_ANDROID) 735 #if defined(OS_ANDROID)
724 CONTENT_EXPORT static WebContents* FromJavaWebContents( 736 CONTENT_EXPORT static WebContents* FromJavaWebContents(
725 const base::android::JavaRef<jobject>& jweb_contents_android); 737 const base::android::JavaRef<jobject>& jweb_contents_android);
726 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; 738 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0;
727 739
728 // Selects and zooms to the find result nearest to the point (x,y) defined in 740 // Selects and zooms to the find result nearest to the point (x,y) defined in
729 // find-in-page coordinates. 741 // find-in-page coordinates.
730 virtual void ActivateNearestFindResult(float x, float y) = 0; 742 virtual void ActivateNearestFindResult(float x, float y) = 0;
731 743
732 // Requests the rects of the current find matches from the renderer 744 // Requests the rects of the current find matches from the renderer
(...skipping 21 matching lines...) Expand all
754 766
755 private: 767 private:
756 // This interface should only be implemented inside content. 768 // This interface should only be implemented inside content.
757 friend class WebContentsImpl; 769 friend class WebContentsImpl;
758 WebContents() {} 770 WebContents() {}
759 }; 771 };
760 772
761 } // namespace content 773 } // namespace content
762 774
763 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 775 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698