| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // element that has the lang attribute set, or from the HTTP | 77 // element that has the lang attribute set, or from the HTTP |
| 78 // "Content-Language" header as a fallback. | 78 // "Content-Language" header as a fallback. |
| 79 WEBKIT_EXPORT WebString computeInheritedLanguage() const; | 79 WEBKIT_EXPORT WebString computeInheritedLanguage() const; |
| 80 | 80 |
| 81 // Returns the bounds of the element in viewport space. The bounds | 81 // Returns the bounds of the element in viewport space. The bounds |
| 82 // have been adjusted to include any transformations. This view is | 82 // have been adjusted to include any transformations. This view is |
| 83 // also called the Root View in WebKit. | 83 // also called the Root View in WebKit. |
| 84 // This function will update the layout if required. | 84 // This function will update the layout if required. |
| 85 WEBKIT_EXPORT WebRect boundsInViewportSpace(); | 85 WEBKIT_EXPORT WebRect boundsInViewportSpace(); |
| 86 | 86 |
| 87 // Returns the image contents of this element or a null WebImage |
| 88 // if there isn't any. |
| 89 WEBKIT_EXPORT WebImage imageContents(); |
| 90 |
| 87 #if WEBKIT_IMPLEMENTATION | 91 #if WEBKIT_IMPLEMENTATION |
| 88 WebElement(const WTF::PassRefPtr<WebCore::Element>&); | 92 WebElement(const WTF::PassRefPtr<WebCore::Element>&); |
| 89 WebElement& operator=(const WTF::PassRefPtr<WebCore::Element>&); | 93 WebElement& operator=(const WTF::PassRefPtr<WebCore::Element>&); |
| 90 operator WTF::PassRefPtr<WebCore::Element>() const; | 94 operator WTF::PassRefPtr<WebCore::Element>() const; |
| 91 #endif | 95 #endif |
| 92 }; | 96 }; |
| 93 | 97 |
| 94 } // namespace WebKit | 98 } // namespace WebKit |
| 95 | 99 |
| 96 #endif | 100 #endif |
| OLD | NEW |