diff options
author | Kristian Monsen <kristianm@google.com> | 2010-09-08 12:18:00 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-09-11 12:08:58 +0100 |
commit | 5ddde30071f639962dd557c453f2ad01f8f0fd00 (patch) | |
tree | 775803c4ab35af50aa5f5472cd1fb95fe9d5152d /WebKit/chromium/public/WebElement.h | |
parent | 3e63d9b33b753ca86d0765d1b3d711114ba9e34f (diff) | |
download | external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.zip external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.gz external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.bz2 |
Merge WebKit at r66666 : Initial merge by git.
Change-Id: I57dedeb49859adc9c539e760f0e749768c66626f
Diffstat (limited to 'WebKit/chromium/public/WebElement.h')
-rw-r--r-- | WebKit/chromium/public/WebElement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebElement.h b/WebKit/chromium/public/WebElement.h index 16a82d8..5b6fd6a 100644 --- a/WebKit/chromium/public/WebElement.h +++ b/WebKit/chromium/public/WebElement.h @@ -58,6 +58,12 @@ class WebNamedNodeMap; WEBKIT_API WebNamedNodeMap attributes() const; WEBKIT_API WebString innerText() const; + // Returns the language code specified for this element. This attribute + // is inherited, so the returned value is drawn from the closest parent + // element that has the lang attribute set, or from the HTTP + // "Content-Language" header as a fallback. + WEBKIT_API WebString computeInheritedLanguage() const; + #if WEBKIT_IMPLEMENTATION WebElement(const WTF::PassRefPtr<WebCore::Element>&); WebElement& operator=(const WTF::PassRefPtr<WebCore::Element>&); |