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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // Returns true if sumit is activated. | 103 // Returns true if sumit is activated. |
104 BLINK_EXPORT bool isActivatedSubmit() const; | 104 BLINK_EXPORT bool isActivatedSubmit() const; |
105 | 105 |
106 // Returns the name that should be used for the specified |element| when | 106 // Returns the name that should be used for the specified |element| when |
107 // storing autofill data. This is either the field name or its id, an empty | 107 // storing autofill data. This is either the field name or its id, an empty |
108 // string if it has no name and no id. | 108 // string if it has no name and no id. |
109 BLINK_EXPORT WebString nameForAutofill() const; | 109 BLINK_EXPORT WebString nameForAutofill() const; |
110 | 110 |
111 BLINK_EXPORT WebFormElement form() const; | 111 BLINK_EXPORT WebFormElement form() const; |
112 | 112 |
| 113 // Sets the text selection start offset for the suggested value for element. |
| 114 BLINK_EXPORT void setSuggestedValueStart(int); |
| 115 |
| 116 // Returns the text selection start offset for the suggested value for eleme
nt. |
| 117 BLINK_EXPORT int suggestedValueStart() const; |
| 118 |
113 #if BLINK_IMPLEMENTATION | 119 #if BLINK_IMPLEMENTATION |
114 WebFormControlElement(const PassRefPtrWillBeRawPtr<HTMLFormControlElement>&)
; | 120 WebFormControlElement(const PassRefPtrWillBeRawPtr<HTMLFormControlElement>&)
; |
115 WebFormControlElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormContro
lElement>&); | 121 WebFormControlElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormContro
lElement>&); |
116 operator PassRefPtrWillBeRawPtr<HTMLFormControlElement>() const; | 122 operator PassRefPtrWillBeRawPtr<HTMLFormControlElement>() const; |
117 #endif | 123 #endif |
118 }; | 124 }; |
119 | 125 |
120 } // namespace blink | 126 } // namespace blink |
121 | 127 |
122 #endif | 128 #endif |
OLD | NEW |