| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 BLINK_EXPORT WebString encoding() const; | 72 BLINK_EXPORT WebString encoding() const; |
| 73 BLINK_EXPORT WebString contentLanguage() const; | 73 BLINK_EXPORT WebString contentLanguage() const; |
| 74 BLINK_EXPORT WebString referrer() const; | 74 BLINK_EXPORT WebString referrer() const; |
| 75 // The url of the OpenSearch Desription Document (if any). | 75 // The url of the OpenSearch Desription Document (if any). |
| 76 BLINK_EXPORT WebURL openSearchDescriptionURL() const; | 76 BLINK_EXPORT WebURL openSearchDescriptionURL() const; |
| 77 | 77 |
| 78 // Returns the frame the document belongs to or 0 if the document is framele
ss. | 78 // Returns the frame the document belongs to or 0 if the document is framele
ss. |
| 79 BLINK_EXPORT WebLocalFrame* frame() const; | 79 BLINK_EXPORT WebLocalFrame* frame() const; |
| 80 | 80 |
| 81 BLINK_EXPORT WebElement documentElement() const; | |
| 82 BLINK_EXPORT WebString title() const; | 81 BLINK_EXPORT WebString title() const; |
| 83 BLINK_EXPORT WebURL completeURL(const WebString&) const; | 82 BLINK_EXPORT WebURL completeURL(const WebString&) const; |
| 84 BLINK_EXPORT WebElement getElementById(const WebString&) const; | 83 BLINK_EXPORT WebElement getElementById(const WebString&) const; |
| 85 BLINK_EXPORT WebElement focusedElement() const; | 84 BLINK_EXPORT WebElement focusedElement() const; |
| 86 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; | 85 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; |
| 87 BLINK_EXPORT WebElement createElement(const WebString& tagName); | 86 BLINK_EXPORT WebElement createElement(const WebString& tagName); |
| 88 | 87 |
| 89 BLINK_EXPORT void pauseAnimationsForTesting(double pauseTime) const; | 88 BLINK_EXPORT void pauseAnimationsForTesting(double pauseTime) const; |
| 90 | 89 |
| 91 | 90 |
| 92 #if BLINK_IMPLEMENTATION | 91 #if BLINK_IMPLEMENTATION |
| 93 WebDocument(const PassRefPtr<Document>&); | 92 WebDocument(const PassRefPtr<Document>&); |
| 94 WebDocument& operator=(const PassRefPtr<Document>&); | 93 WebDocument& operator=(const PassRefPtr<Document>&); |
| 95 operator PassRefPtr<Document>() const; | 94 operator PassRefPtr<Document>() const; |
| 96 #endif | 95 #endif |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace blink | 98 } // namespace blink |
| 100 | 99 |
| 101 #endif // SKY_ENGINE_PUBLIC_WEB_WEBDOCUMENT_H_ | 100 #endif // SKY_ENGINE_PUBLIC_WEB_WEBDOCUMENT_H_ |
| OLD | NEW |