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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 BLINK_EXPORT WebElement documentElement() const; | 105 BLINK_EXPORT WebElement documentElement() const; |
106 BLINK_EXPORT WebElement body() const; | 106 BLINK_EXPORT WebElement body() const; |
107 BLINK_EXPORT WebElement head(); | 107 BLINK_EXPORT WebElement head(); |
108 BLINK_EXPORT WebString title() const; | 108 BLINK_EXPORT WebString title() const; |
109 BLINK_EXPORT WebString contentAsTextForTesting() const; | 109 BLINK_EXPORT WebString contentAsTextForTesting() const; |
110 BLINK_EXPORT WebElementCollection all(); | 110 BLINK_EXPORT WebElementCollection all(); |
111 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; | 111 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; |
112 BLINK_EXPORT WebURL completeURL(const WebString&) const; | 112 BLINK_EXPORT WebURL completeURL(const WebString&) const; |
113 BLINK_EXPORT WebElement getElementById(const WebString&) const; | 113 BLINK_EXPORT WebElement getElementById(const WebString&) const; |
114 BLINK_EXPORT WebElement focusedElement() const; | 114 BLINK_EXPORT WebElement focusedElement() const; |
115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; | 115 BLINK_EXPORT WebReferrerPolicy getReferrerPolicy() const; |
116 BLINK_EXPORT WebString outgoingReferrer(); | 116 BLINK_EXPORT WebString outgoingReferrer(); |
117 | 117 |
118 // Accessibility support. These methods should only be called on the | 118 // Accessibility support. These methods should only be called on the |
119 // top-level document, because one accessibility cache spans all of | 119 // top-level document, because one accessibility cache spans all of |
120 // the documents on the page. | 120 // the documents on the page. |
121 | 121 |
122 // Gets the accessibility object for this document. | 122 // Gets the accessibility object for this document. |
123 BLINK_EXPORT WebAXObject accessibilityObject() const; | 123 BLINK_EXPORT WebAXObject accessibilityObject() const; |
124 | 124 |
125 // Gets the accessibility object for an object on this page by ID. | 125 // Gets the accessibility object for an object on this page by ID. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 BLINK_EXPORT WebDocument& operator=(Document*); | 158 BLINK_EXPORT WebDocument& operator=(Document*); |
159 BLINK_EXPORT operator Document*() const; | 159 BLINK_EXPORT operator Document*() const; |
160 #endif | 160 #endif |
161 }; | 161 }; |
162 | 162 |
163 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 163 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
164 | 164 |
165 } // namespace blink | 165 } // namespace blink |
166 | 166 |
167 #endif | 167 #endif |
OLD | NEW |