| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 BLINK_EXPORT WebElement focusedElement() const; | 110 BLINK_EXPORT WebElement focusedElement() const; |
| 111 BLINK_EXPORT WebDocumentType doctype() const; | 111 BLINK_EXPORT WebDocumentType doctype() const; |
| 112 BLINK_EXPORT void cancelFullScreen(); | 112 BLINK_EXPORT void cancelFullScreen(); |
| 113 BLINK_EXPORT WebElement fullScreenElement() const; | 113 BLINK_EXPORT WebElement fullScreenElement() const; |
| 114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); | 114 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); |
| 115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; | 115 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; |
| 116 BLINK_EXPORT WebElement createElement(const WebString& tagName); | 116 BLINK_EXPORT WebElement createElement(const WebString& tagName); |
| 117 // Shorthand of frame()->scrollOffset(). | |
| 118 BLINK_EXPORT WebSize scrollOffset() const; | |
| 119 // Shorthand of frame()->minimumScrollOffset(). | |
| 120 BLINK_EXPORT WebSize minimumScrollOffset() const; | |
| 121 // Shorthand of frame()->maximumScrollOffset(). | |
| 122 BLINK_EXPORT WebSize maximumScrollOffset() const; | |
| 123 | 117 |
| 124 // Accessibility support. These methods should only be called on the | 118 // Accessibility support. These methods should only be called on the |
| 125 // top-level document, because one accessibility cache spans all of | 119 // top-level document, because one accessibility cache spans all of |
| 126 // the documents on the page. | 120 // the documents on the page. |
| 127 | 121 |
| 128 // Gets the accessibility object for this document. | 122 // Gets the accessibility object for this document. |
| 129 BLINK_EXPORT WebAXObject accessibilityObject() const; | 123 BLINK_EXPORT WebAXObject accessibilityObject() const; |
| 130 | 124 |
| 131 // 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. |
| 132 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; | 126 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 150 #if BLINK_IMPLEMENTATION | 144 #if BLINK_IMPLEMENTATION |
| 151 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); | 145 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); |
| 152 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); | 146 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); |
| 153 operator PassRefPtrWillBeRawPtr<Document>() const; | 147 operator PassRefPtrWillBeRawPtr<Document>() const; |
| 154 #endif | 148 #endif |
| 155 }; | 149 }; |
| 156 | 150 |
| 157 } // namespace blink | 151 } // namespace blink |
| 158 | 152 |
| 159 #endif | 153 #endif |
| OLD | NEW |