| 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 19 matching lines...) Expand all Loading... |
| 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 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class HTMLFormElement; | 39 class HTMLFormElement; |
| 40 class WebInputElement; | |
| 41 class WebFormControlElement; | 40 class WebFormControlElement; |
| 42 | 41 |
| 43 // A container for passing around a reference to a form element. Provides some | 42 // A container for passing around a reference to a form element. Provides some |
| 44 // information about the form. | 43 // information about the form. |
| 45 class WebFormElement : public WebElement { | 44 class WebFormElement : public WebElement { |
| 46 public: | 45 public: |
| 47 ~WebFormElement() { reset(); } | 46 ~WebFormElement() { reset(); } |
| 48 | 47 |
| 49 WebFormElement() : WebElement() { } | 48 WebFormElement() : WebElement() { } |
| 50 WebFormElement(const WebFormElement& element) : WebElement(element) { } | 49 WebFormElement(const WebFormElement& element) : WebElement(element) { } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 81 #if BLINK_IMPLEMENTATION | 80 #if BLINK_IMPLEMENTATION |
| 82 WebFormElement(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); | 81 WebFormElement(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); |
| 83 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); | 82 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); |
| 84 operator PassRefPtrWillBeRawPtr<HTMLFormElement>() const; | 83 operator PassRefPtrWillBeRawPtr<HTMLFormElement>() const; |
| 85 #endif | 84 #endif |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace blink | 87 } // namespace blink |
| 89 | 88 |
| 90 #endif | 89 #endif |
| OLD | NEW |