OLD | NEW |
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 Loading... |
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 |
OLD | NEW |