Changeset 130191 in webkit
- Timestamp:
- Oct 2, 2012, 11:51:35 AM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r130178 r130191 1 2012-10-02 Brian White <bcwhite@chromium.org> 2 3 WebDocument doesn't export document language to outside users. 4 https://bugs.webkit.org/show_bug.cgi?id=98066 5 6 Reviewed by Adam Barth. 7 8 Chromium uses the document language to offer translation. It's been doing 9 its own detection of this property but it would be better to get it from 10 existing extraction code. 11 12 * public/WebDocument.h: 13 (WebDocument): 14 * src/WebDocument.cpp: 15 (WebKit::WebDocument::contentLanguage): 16 (WebKit): 17 1 18 2012-10-02 Vangelis Kokkevis <vangelis@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/public/WebDocument.h
r124790 r130191 80 80 81 81 WEBKIT_EXPORT WebString encoding() const; 82 WEBKIT_EXPORT WebString contentLanguage() const; 82 83 83 84 // The url of the OpenSearch Desription Document (if any). -
trunk/Source/WebKit/chromium/src/WebDocument.cpp
r129423 r130191 82 82 } 83 83 84 WebString WebDocument::contentLanguage() const 85 { 86 return constUnwrap<Document>()->contentLanguage(); 87 } 88 84 89 WebURL WebDocument::openSearchDescriptionURL() const 85 90 {
Note:
See TracChangeset
for help on using the changeset viewer.