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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 BLINK_EXPORT WebElement documentElement() const; | 101 BLINK_EXPORT WebElement documentElement() const; |
102 BLINK_EXPORT WebElement body() const; | 102 BLINK_EXPORT WebElement body() const; |
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 WebElementCollection all(); | 105 BLINK_EXPORT WebElementCollection all(); |
106 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; | 106 BLINK_EXPORT void forms(WebVector<WebFormElement>&) const; |
107 BLINK_EXPORT void images(WebVector<WebElement>&); | 107 BLINK_EXPORT void images(WebVector<WebElement>&); |
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 // Deprecated API. Use focusedElement() instead. |
110 BLINK_EXPORT WebNode focusedNode() const; | 111 BLINK_EXPORT WebNode focusedNode() const; |
| 112 BLINK_EXPORT WebElement focusedElement() const; |
111 BLINK_EXPORT WebDocumentType doctype() const; | 113 BLINK_EXPORT WebDocumentType doctype() const; |
112 BLINK_EXPORT void cancelFullScreen(); | 114 BLINK_EXPORT void cancelFullScreen(); |
113 BLINK_EXPORT WebElement fullScreenElement() const; | 115 BLINK_EXPORT WebElement fullScreenElement() const; |
114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); | 116 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); |
115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; | 117 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; |
116 BLINK_EXPORT WebElement createElement(const WebString& tagName); | 118 BLINK_EXPORT WebElement createElement(const WebString& tagName); |
117 | 119 |
118 // Accessibility support. These methods should only be called on the | 120 // Accessibility support. These methods should only be called on the |
119 // top-level document, because one accessibility cache spans all of | 121 // top-level document, because one accessibility cache spans all of |
120 // the documents on the page. | 122 // the documents on the page. |
(...skipping 18 matching lines...) Expand all Loading... |
139 #if BLINK_IMPLEMENTATION | 141 #if BLINK_IMPLEMENTATION |
140 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); | 142 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); |
141 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); | 143 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); |
142 operator WTF::PassRefPtr<WebCore::Document>() const; | 144 operator WTF::PassRefPtr<WebCore::Document>() const; |
143 #endif | 145 #endif |
144 }; | 146 }; |
145 | 147 |
146 } // namespace blink | 148 } // namespace blink |
147 | 149 |
148 #endif | 150 #endif |
OLD | NEW |