| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 // Accessibility support. These methods should only be called on the | 115 // Accessibility support. These methods should only be called on the |
| 116 // top-level document, because one accessibility cache spans all of | 116 // top-level document, because one accessibility cache spans all of |
| 117 // the documents on the page. | 117 // the documents on the page. |
| 118 | 118 |
| 119 // Gets the accessibility object for this document. | 119 // Gets the accessibility object for this document. |
| 120 BLINK_EXPORT WebAXObject accessibilityObject() const; | 120 BLINK_EXPORT WebAXObject accessibilityObject() const; |
| 121 | 121 |
| 122 // 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. |
| 123 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; | 123 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; |
| 124 |
| 125 // Gets the accessibility object that has focus. |
| 126 BLINK_EXPORT WebAXObject focusedAccessibilityObject() const; |
| 127 |
| 124 // Inserts the given CSS source code as a stylesheet in the document. | 128 // Inserts the given CSS source code as a stylesheet in the document. |
| 125 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode); | 129 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode); |
| 126 | 130 |
| 127 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of | 131 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of |
| 128 // the selectors matches or stops matching an element in this document. | 132 // the selectors matches or stops matching an element in this document. |
| 129 // Each call to this method overrides any previous calls. | 133 // Each call to this method overrides any previous calls. |
| 130 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); | 134 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); |
| 131 | 135 |
| 132 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; | 136 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
| 133 | 137 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 145 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); | 149 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); |
| 146 operator PassRefPtrWillBeRawPtr<Document>() const; | 150 operator PassRefPtrWillBeRawPtr<Document>() const; |
| 147 #endif | 151 #endif |
| 148 }; | 152 }; |
| 149 | 153 |
| 150 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 154 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
| 151 | 155 |
| 152 } // namespace blink | 156 } // namespace blink |
| 153 | 157 |
| 154 #endif | 158 #endif |
| OLD | NEW |