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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 BLINK_EXPORT WebString directionForFormData() const; | 101 BLINK_EXPORT WebString directionForFormData() const; |
102 | 102 |
103 // Returns the name that should be used for the specified |element| when | 103 // Returns the name that should be used for the specified |element| when |
104 // storing autofill data. This is either the field name or its id, an empty | 104 // storing autofill data. This is either the field name or its id, an empty |
105 // string if it has no name and no id. | 105 // string if it has no name and no id. |
106 BLINK_EXPORT WebString nameForAutofill() const; | 106 BLINK_EXPORT WebString nameForAutofill() const; |
107 | 107 |
108 BLINK_EXPORT WebFormElement form() const; | 108 BLINK_EXPORT WebFormElement form() const; |
109 | 109 |
110 #if BLINK_IMPLEMENTATION | 110 #if BLINK_IMPLEMENTATION |
111 WebFormControlElement(const RawPtr<HTMLFormControlElement>&); | 111 WebFormControlElement(HTMLFormControlElement*); |
112 WebFormControlElement& operator=(const RawPtr<HTMLFormControlElement>&); | 112 WebFormControlElement& operator=(HTMLFormControlElement*); |
113 operator RawPtr<HTMLFormControlElement>() const; | 113 operator HTMLFormControlElement*() const; |
114 #endif | 114 #endif |
115 }; | 115 }; |
116 | 116 |
117 DECLARE_WEB_NODE_TYPE_CASTS(WebFormControlElement); | 117 DECLARE_WEB_NODE_TYPE_CASTS(WebFormControlElement); |
118 | 118 |
119 } // namespace blink | 119 } // namespace blink |
120 | 120 |
121 #endif | 121 #endif |
OLD | NEW |