| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 } | 85 } |
| 86 | 86 |
| 87 WebString WebDocument::encoding() const { | 87 WebString WebDocument::encoding() const { |
| 88 return constUnwrap<Document>()->encodingName(); | 88 return constUnwrap<Document>()->encodingName(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 WebString WebDocument::contentLanguage() const { | 91 WebString WebDocument::contentLanguage() const { |
| 92 return constUnwrap<Document>()->contentLanguage(); | 92 return constUnwrap<Document>()->contentLanguage(); |
| 93 } | 93 } |
| 94 | 94 |
| 95 WebString WebDocument::documentLanguage() const { |
| 96 return constUnwrap<Document>()->documentLanguage(); |
| 97 } |
| 98 |
| 99 WebVector<WebString> WebDocument::getMetaValues(WebString name) const { |
| 100 return constUnwrap<Document>()->getMetaValues(name); |
| 101 } |
| 102 |
| 95 WebString WebDocument::referrer() const { | 103 WebString WebDocument::referrer() const { |
| 96 return constUnwrap<Document>()->referrer(); | 104 return constUnwrap<Document>()->referrer(); |
| 97 } | 105 } |
| 98 | 106 |
| 99 WebColor WebDocument::themeColor() const { | 107 WebColor WebDocument::themeColor() const { |
| 100 return constUnwrap<Document>()->themeColor().rgb(); | 108 return constUnwrap<Document>()->themeColor().rgb(); |
| 101 } | 109 } |
| 102 | 110 |
| 103 WebURL WebDocument::openSearchDescriptionURL() const { | 111 WebURL WebDocument::openSearchDescriptionURL() const { |
| 104 return const_cast<Document*>(constUnwrap<Document>()) | 112 return const_cast<Document*>(constUnwrap<Document>()) |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 WebDocument& WebDocument::operator=(Document* elem) { | 304 WebDocument& WebDocument::operator=(Document* elem) { |
| 297 m_private = elem; | 305 m_private = elem; |
| 298 return *this; | 306 return *this; |
| 299 } | 307 } |
| 300 | 308 |
| 301 WebDocument::operator Document*() const { | 309 WebDocument::operator Document*() const { |
| 302 return toDocument(m_private.get()); | 310 return toDocument(m_private.get()); |
| 303 } | 311 } |
| 304 | 312 |
| 305 } // namespace blink | 313 } // namespace blink |
| OLD | NEW |