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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 BLINK_EXPORT WebAXObject accessibilityObject() const; | 127 BLINK_EXPORT WebAXObject accessibilityObject() const; |
128 | 128 |
129 // Gets the accessibility object for an object on this page by ID. | 129 // Gets the accessibility object for an object on this page by ID. |
130 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; | 130 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; |
131 // Inserts the given CSS source code as a user stylesheet in the document. | 131 // Inserts the given CSS source code as a user stylesheet in the document. |
132 // Meant for programatic/one-off injection, as opposed to | 132 // Meant for programatic/one-off injection, as opposed to |
133 // WebView::addUserStyleSheet which inserts styles for the lifetime of the | 133 // WebView::addUserStyleSheet which inserts styles for the lifetime of the |
134 // WebView. | 134 // WebView. |
135 BLINK_EXPORT void insertUserStyleSheet(const WebString& sourceCode, UserStyl
eLevel); | 135 BLINK_EXPORT void insertUserStyleSheet(const WebString& sourceCode, UserStyl
eLevel); |
136 | 136 |
| 137 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of |
| 138 // the selectors matches or stops matching an element in this document. |
| 139 // Each call to this method overrides any previous calls. |
| 140 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); |
| 141 |
137 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; | 142 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
138 | 143 |
139 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt
ring& name, v8::Handle<v8::Value> options, WebExceptionCode&); | 144 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt
ring& name, v8::Handle<v8::Value> options, WebExceptionCode&); |
140 | 145 |
141 #if BLINK_IMPLEMENTATION | 146 #if BLINK_IMPLEMENTATION |
142 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); | 147 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); |
143 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); | 148 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); |
144 operator WTF::PassRefPtr<WebCore::Document>() const; | 149 operator WTF::PassRefPtr<WebCore::Document>() const; |
145 #endif | 150 #endif |
146 }; | 151 }; |
147 | 152 |
148 } // namespace WebKit | 153 } // namespace WebKit |
149 | 154 |
150 #endif | 155 #endif |
OLD | NEW |