OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebFormElement_h | 31 #ifndef WebFormElement_h |
32 #define WebFormElement_h | 32 #define WebFormElement_h |
33 | 33 |
34 #include "../platform/WebVector.h" | 34 #include "../platform/WebVector.h" |
35 #include "WebElement.h" | 35 #include "WebElement.h" |
36 | 36 |
37 #if BLINK_IMPLEMENTATION | 37 #if BLINK_IMPLEMENTATION |
38 namespace WebCore { class HTMLFormElement; } | 38 namespace blink { class HTMLFormElement; } |
39 #endif | 39 #endif |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class WebInputElement; | 43 class WebInputElement; |
44 class WebFormControlElement; | 44 class WebFormControlElement; |
45 | 45 |
46 // A container for passing around a reference to a form element. Provides | 46 // A container for passing around a reference to a form element. Provides |
47 // some information about the form. | 47 // some information about the form. |
48 class WebFormElement : public WebElement { | 48 class WebFormElement : public WebElement { |
(...skipping 25 matching lines...) Expand all Loading... |
74 | 74 |
75 enum AutocompleteResult { | 75 enum AutocompleteResult { |
76 AutocompleteResultSuccess, | 76 AutocompleteResultSuccess, |
77 AutocompleteResultErrorDisabled, | 77 AutocompleteResultErrorDisabled, |
78 AutocompleteResultErrorCancel, | 78 AutocompleteResultErrorCancel, |
79 AutocompleteResultErrorInvalid, | 79 AutocompleteResultErrorInvalid, |
80 }; | 80 }; |
81 BLINK_EXPORT void finishRequestAutocomplete(WebFormElement::Autocomplete
Result); | 81 BLINK_EXPORT void finishRequestAutocomplete(WebFormElement::Autocomplete
Result); |
82 | 82 |
83 #if BLINK_IMPLEMENTATION | 83 #if BLINK_IMPLEMENTATION |
84 WebFormElement(const PassRefPtrWillBeRawPtr<WebCore::HTMLFormElement>&); | 84 WebFormElement(const PassRefPtrWillBeRawPtr<blink::HTMLFormElement>&); |
85 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<WebCore::HTMLForm
Element>&); | 85 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<blink::HTMLFormEl
ement>&); |
86 operator PassRefPtrWillBeRawPtr<WebCore::HTMLFormElement>() const; | 86 operator PassRefPtrWillBeRawPtr<blink::HTMLFormElement>() const; |
87 #endif | 87 #endif |
88 }; | 88 }; |
89 | 89 |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 #endif | 92 #endif |
OLD | NEW |