| 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 // These methods are exposed only as a temporary fix for a stable-blocker |
| 140 // regression (crbug.com/660706), and should be removed pronto. |
| 141 // TODO(devlin): Make it happen! |
| 142 BLINK_EXPORT bool unloadStartedDoNotUse() const; |
| 143 BLINK_EXPORT bool processingBeforeUnloadDoNotUse() const; |
| 144 |
| 139 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; | 145 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
| 140 | 146 |
| 141 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement( | 147 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement( |
| 142 const WebString& name, | 148 const WebString& name, |
| 143 v8::Local<v8::Value> options, | 149 v8::Local<v8::Value> options, |
| 144 WebExceptionCode&); | 150 WebExceptionCode&); |
| 145 | 151 |
| 146 BLINK_EXPORT WebURL manifestURL() const; | 152 BLINK_EXPORT WebURL manifestURL() const; |
| 147 BLINK_EXPORT bool manifestUseCredentials() const; | 153 BLINK_EXPORT bool manifestUseCredentials() const; |
| 148 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); | 154 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); |
| 149 | 155 |
| 150 #if BLINK_IMPLEMENTATION | 156 #if BLINK_IMPLEMENTATION |
| 151 BLINK_EXPORT WebDocument(Document*); | 157 BLINK_EXPORT WebDocument(Document*); |
| 152 BLINK_EXPORT WebDocument& operator=(Document*); | 158 BLINK_EXPORT WebDocument& operator=(Document*); |
| 153 BLINK_EXPORT operator Document*() const; | 159 BLINK_EXPORT operator Document*() const; |
| 154 #endif | 160 #endif |
| 155 }; | 161 }; |
| 156 | 162 |
| 157 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); | 163 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); |
| 158 | 164 |
| 159 } // namespace blink | 165 } // namespace blink |
| 160 | 166 |
| 161 #endif | 167 #endif |
| OLD | NEW |