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 |
134 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr
ing& name, v8::Local<v8::Value> options, WebExceptionCode&); | 138 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr
ing& name, v8::Local<v8::Value> options, WebExceptionCode&); |
135 | 139 |
136 BLINK_EXPORT WebURL manifestURL() const; | 140 BLINK_EXPORT WebURL manifestURL() const; |
137 BLINK_EXPORT bool manifestUseCredentials() const; | 141 BLINK_EXPORT bool manifestUseCredentials() const; |
138 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); | 142 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); |
139 | 143 |
140 #if BLINK_IMPLEMENTATION | 144 #if BLINK_IMPLEMENTATION |
141 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); | 145 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); |
142 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); | 146 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); |
143 operator PassRefPtrWillBeRawPtr<Document>() const; | 147 operator PassRefPtrWillBeRawPtr<Document>() const; |
144 #endif | 148 #endif |
145 }; | 149 }; |
146 | 150 |
147 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 151 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
148 | 152 |
149 } // namespace blink | 153 } // namespace blink |
150 | 154 |
151 #endif | 155 #endif |
OLD | NEW |