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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 113 |
| 114 BLINK_EXPORT bool isPrefetchOnly() const; |
| 115 |
114 // Accessibility support. These methods should only be called on the | 116 // Accessibility support. These methods should only be called on the |
115 // top-level document, because one accessibility cache spans all of | 117 // top-level document, because one accessibility cache spans all of |
116 // the documents on the page. | 118 // the documents on the page. |
117 | 119 |
118 // Gets the accessibility object for this document. | 120 // Gets the accessibility object for this document. |
119 BLINK_EXPORT WebAXObject accessibilityObject() const; | 121 BLINK_EXPORT WebAXObject accessibilityObject() const; |
120 | 122 |
121 // Gets the accessibility object for an object on this page by ID. | 123 // Gets the accessibility object for an object on this page by ID. |
122 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; | 124 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; |
123 | 125 |
(...skipping 21 matching lines...) Expand all Loading... |
145 BLINK_EXPORT WebDocument& operator=(Document*); | 147 BLINK_EXPORT WebDocument& operator=(Document*); |
146 BLINK_EXPORT operator Document*() const; | 148 BLINK_EXPORT operator Document*() const; |
147 #endif | 149 #endif |
148 }; | 150 }; |
149 | 151 |
150 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 152 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
151 | 153 |
152 } // namespace blink | 154 } // namespace blink |
153 | 155 |
154 #endif | 156 #endif |
OLD | NEW |