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

Side by Side Diff: third_party/WebKit/public/web/WebAutofillClient.h

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix components_unittests build failure 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void textFieldDidEndEditing(const WebInputElement&) { } 47 virtual void textFieldDidEndEditing(const WebInputElement&) { }
48 virtual void textFieldDidChange(const WebFormControlElement&) { } 48 virtual void textFieldDidChange(const WebFormControlElement&) { }
49 virtual void textFieldDidReceiveKeyDown(const WebInputElement&, const WebKey boardEvent&) { } 49 virtual void textFieldDidReceiveKeyDown(const WebInputElement&, const WebKey boardEvent&) { }
50 // This is called when a datalist indicator is clicked. 50 // This is called when a datalist indicator is clicked.
51 virtual void openTextDataListChooser(const WebInputElement&) { } 51 virtual void openTextDataListChooser(const WebInputElement&) { }
52 // This is called when the datalist for an input has changed. 52 // This is called when the datalist for an input has changed.
53 virtual void dataListOptionsChanged(const WebInputElement&) { } 53 virtual void dataListOptionsChanged(const WebInputElement&) { }
54 // Called the first time the user interacts with the page after a load. 54 // Called the first time the user interacts with the page after a load.
55 virtual void firstUserGestureObserved() { } 55 virtual void firstUserGestureObserved() { }
56 56
57 // Called when a password field on the page becomes visible.
58 virtual void passwordFieldBecameVisible() {}
59
57 // Informs the client whether or not any subsequent text changes should be i gnored. 60 // Informs the client whether or not any subsequent text changes should be i gnored.
58 virtual void setIgnoreTextChanges(bool ignore) { } 61 virtual void setIgnoreTextChanges(bool ignore) { }
59 62
60 virtual void didAssociateFormControlsDynamically() { } 63 virtual void didAssociateFormControlsDynamically() { }
61 virtual void ajaxSucceeded() { } 64 virtual void ajaxSucceeded() { }
62 65
63 protected: 66 protected:
64 virtual ~WebAutofillClient() { } 67 virtual ~WebAutofillClient() { }
65 }; 68 };
66 69
67 } // namespace blink 70 } // namespace blink
68 71
69 #endif 72 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698