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