| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 BLINK_EXPORT bool hasAttribute(const WebString&) const; | 61 BLINK_EXPORT bool hasAttribute(const WebString&) const; |
| 62 BLINK_EXPORT void removeAttribute(const WebString&); | 62 BLINK_EXPORT void removeAttribute(const WebString&); |
| 63 BLINK_EXPORT WebString getAttribute(const WebString&) const; | 63 BLINK_EXPORT WebString getAttribute(const WebString&) const; |
| 64 BLINK_EXPORT bool setAttribute(const WebString& name, const WebString& value
); | 64 BLINK_EXPORT bool setAttribute(const WebString& name, const WebString& value
); |
| 65 BLINK_EXPORT WebString textContent() const; | 65 BLINK_EXPORT WebString textContent() const; |
| 66 BLINK_EXPORT void requestFullScreen(); | 66 BLINK_EXPORT void requestFullScreen(); |
| 67 BLINK_EXPORT WebString attributeLocalName(unsigned index) const; | 67 BLINK_EXPORT WebString attributeLocalName(unsigned index) const; |
| 68 BLINK_EXPORT WebString attributeValue(unsigned index) const; | 68 BLINK_EXPORT WebString attributeValue(unsigned index) const; |
| 69 BLINK_EXPORT unsigned attributeCount() const; | 69 BLINK_EXPORT unsigned attributeCount() const; |
| 70 | 70 |
| 71 // FIXME (for testing) |
| 72 BLINK_EXPORT WebString innerHTML() const; |
| 73 |
| 71 // If this element takes up space in the layout of the page. | 74 // If this element takes up space in the layout of the page. |
| 72 BLINK_EXPORT bool hasNonEmptyLayoutSize() const; | 75 BLINK_EXPORT bool hasNonEmptyLayoutSize() const; |
| 73 | 76 |
| 74 // Returns the bounds of the element in viewport space. The bounds | 77 // Returns the bounds of the element in viewport space. The bounds |
| 75 // have been adjusted to include any transformations. This view is | 78 // have been adjusted to include any transformations. This view is |
| 76 // also called the Root View in Blink. | 79 // also called the Root View in Blink. |
| 77 // This function will update the layout if required. | 80 // This function will update the layout if required. |
| 78 BLINK_EXPORT WebRect boundsInViewportSpace(); | 81 BLINK_EXPORT WebRect boundsInViewportSpace(); |
| 79 | 82 |
| 80 // Returns the image contents of this element or a null WebImage | 83 // Returns the image contents of this element or a null WebImage |
| 81 // if there isn't any. | 84 // if there isn't any. |
| 82 BLINK_EXPORT WebImage imageContents(); | 85 BLINK_EXPORT WebImage imageContents(); |
| 83 | 86 |
| 84 #if BLINK_IMPLEMENTATION | 87 #if BLINK_IMPLEMENTATION |
| 85 WebElement(const PassRefPtrWillBeRawPtr<Element>&); | 88 WebElement(const PassRefPtrWillBeRawPtr<Element>&); |
| 86 WebElement& operator=(const PassRefPtrWillBeRawPtr<Element>&); | 89 WebElement& operator=(const PassRefPtrWillBeRawPtr<Element>&); |
| 87 operator PassRefPtrWillBeRawPtr<Element>() const; | 90 operator PassRefPtrWillBeRawPtr<Element>() const; |
| 88 #endif | 91 #endif |
| 89 }; | 92 }; |
| 90 | 93 |
| 91 } // namespace blink | 94 } // namespace blink |
| 92 | 95 |
| 93 #endif | 96 #endif |
| OLD | NEW |