| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 BLINK_EXPORT WebElement head(); | 103 BLINK_EXPORT WebElement head(); |
| 104 BLINK_EXPORT WebString title() const; | 104 BLINK_EXPORT WebString title() const; |
| 105 BLINK_EXPORT WebString contentAsTextForTesting() const; | 105 BLINK_EXPORT WebString contentAsTextForTesting() const; |
| 106 BLINK_EXPORT WebElementCollection all(); | 106 BLINK_EXPORT WebElementCollection all(); |
| 107 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; | 107 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; |
| 108 BLINK_EXPORT WebURL completeURL(const WebString&) const; | 108 BLINK_EXPORT WebURL completeURL(const WebString&) const; |
| 109 BLINK_EXPORT WebElement getElementById(const WebString&) const; | 109 BLINK_EXPORT WebElement getElementById(const WebString&) const; |
| 110 BLINK_EXPORT WebElement focusedElement() const; | 110 BLINK_EXPORT WebElement focusedElement() const; |
| 111 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; | 111 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; |
| 112 BLINK_EXPORT WebString outgoingReferrer(); | 112 BLINK_EXPORT WebString outgoingReferrer(); |
| 113 BLINK_EXPORT bool isPrefetchOnly() const; |
| 113 | 114 |
| 114 // Accessibility support. These methods should only be called on the | 115 // Accessibility support. These methods should only be called on the |
| 115 // top-level document, because one accessibility cache spans all of | 116 // top-level document, because one accessibility cache spans all of |
| 116 // the documents on the page. | 117 // the documents on the page. |
| 117 | 118 |
| 118 // Gets the accessibility object for this document. | 119 // Gets the accessibility object for this document. |
| 119 BLINK_EXPORT WebAXObject accessibilityObject() const; | 120 BLINK_EXPORT WebAXObject accessibilityObject() const; |
| 120 | 121 |
| 121 // Gets the accessibility object for an object on this page by ID. | 122 // Gets the accessibility object for an object on this page by ID. |
| 122 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; | 123 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 145 BLINK_EXPORT WebDocument& operator=(Document*); | 146 BLINK_EXPORT WebDocument& operator=(Document*); |
| 146 BLINK_EXPORT operator Document*() const; | 147 BLINK_EXPORT operator Document*() const; |
| 147 #endif | 148 #endif |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 151 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
| 151 | 152 |
| 152 } // namespace blink | 153 } // namespace blink |
| 153 | 154 |
| 154 #endif | 155 #endif |
| OLD | NEW |