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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Instructs the browser to remove the Autocomplete entry specified from | 83 // Instructs the browser to remove the Autocomplete entry specified from |
84 // its DB. | 84 // its DB. |
85 virtual void removeAutocompleteSuggestion(const WebString& name, | 85 virtual void removeAutocompleteSuggestion(const WebString& name, |
86 const WebString& value) { } | 86 const WebString& value) { } |
87 | 87 |
88 // These methods are called when the users edits a text-field. | 88 // These methods are called when the users edits a text-field. |
89 virtual void textFieldDidEndEditing(const WebInputElement&) { } | 89 virtual void textFieldDidEndEditing(const WebInputElement&) { } |
90 virtual void textFieldDidChange(const WebInputElement&) { } | 90 virtual void textFieldDidChange(const WebInputElement&) { } |
91 virtual void textFieldDidReceiveKeyDown(const WebInputElement&, const WebKey
boardEvent&) { } | 91 virtual void textFieldDidReceiveKeyDown(const WebInputElement&, const WebKey
boardEvent&) { } |
92 | 92 |
| 93 // Informs the client whether or not any subsequent text changes should be i
gnored. |
| 94 virtual void setIgnoreTextChanges(bool ignore) { } |
| 95 |
93 protected: | 96 protected: |
94 ~WebAutofillClient() { } | 97 virtual ~WebAutofillClient() { } |
95 }; | 98 }; |
96 | 99 |
97 } // namespace WebKit | 100 } // namespace WebKit |
98 | 101 |
99 #endif | 102 #endif |
OLD | NEW |