| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 BLINK_EXPORT WebAXObject focusedAccessibilityObject() const; | 129 BLINK_EXPORT WebAXObject focusedAccessibilityObject() const; |
| 130 | 130 |
| 131 // Inserts the given CSS source code as a stylesheet in the document. | 131 // Inserts the given CSS source code as a stylesheet in the document. |
| 132 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode); | 132 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode); |
| 133 | 133 |
| 134 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of | 134 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of |
| 135 // the selectors matches or stops matching an element in this document. | 135 // the selectors matches or stops matching an element in this document. |
| 136 // Each call to this method overrides any previous calls. | 136 // Each call to this method overrides any previous calls. |
| 137 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); | 137 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); |
| 138 | 138 |
| 139 BLINK_EXPORT bool unloadStarted() const; |
| 140 BLINK_EXPORT bool processingBeforeUnload() const; |
| 141 |
| 139 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; | 142 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
| 140 | 143 |
| 141 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement( | 144 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement( |
| 142 const WebString& name, | 145 const WebString& name, |
| 143 v8::Local<v8::Value> options, | 146 v8::Local<v8::Value> options, |
| 144 WebExceptionCode&); | 147 WebExceptionCode&); |
| 145 | 148 |
| 146 BLINK_EXPORT WebURL manifestURL() const; | 149 BLINK_EXPORT WebURL manifestURL() const; |
| 147 BLINK_EXPORT bool manifestUseCredentials() const; | 150 BLINK_EXPORT bool manifestUseCredentials() const; |
| 148 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); | 151 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); |
| 149 | 152 |
| 150 #if BLINK_IMPLEMENTATION | 153 #if BLINK_IMPLEMENTATION |
| 151 BLINK_EXPORT WebDocument(Document*); | 154 BLINK_EXPORT WebDocument(Document*); |
| 152 BLINK_EXPORT WebDocument& operator=(Document*); | 155 BLINK_EXPORT WebDocument& operator=(Document*); |
| 153 BLINK_EXPORT operator Document*() const; | 156 BLINK_EXPORT operator Document*() const; |
| 154 #endif | 157 #endif |
| 155 }; | 158 }; |
| 156 | 159 |
| 157 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 160 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
| 158 | 161 |
| 159 } // namespace blink | 162 } // namespace blink |
| 160 | 163 |
| 161 #endif | 164 #endif |
| OLD | NEW |