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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "../platform/WebReferrerPolicy.h" | 34 #include "../platform/WebReferrerPolicy.h" |
35 #include "../platform/WebVector.h" | 35 #include "../platform/WebVector.h" |
36 #include "WebDraggableRegion.h" | 36 #include "WebDraggableRegion.h" |
37 #include "WebExceptionCode.h" | 37 #include "WebExceptionCode.h" |
38 #include "WebFrame.h" | 38 #include "WebFrame.h" |
39 #include "WebNode.h" | 39 #include "WebNode.h" |
40 #include "WebSecurityOrigin.h" | 40 #include "WebSecurityOrigin.h" |
41 | 41 |
42 #if BLINK_IMPLEMENTATION | 42 #if BLINK_IMPLEMENTATION |
43 namespace blink { | |
44 class Document; | |
45 class DocumentType; | |
46 } | |
47 namespace WTF { template <typename T> class PassRefPtr; } | 43 namespace WTF { template <typename T> class PassRefPtr; } |
48 #endif | 44 #endif |
49 | 45 |
50 namespace v8 { | 46 namespace v8 { |
51 class Value; | 47 class Value; |
52 template <class T> class Handle; | 48 template <class T> class Handle; |
53 } | 49 } |
54 | 50 |
55 namespace blink { | 51 namespace blink { |
| 52 |
| 53 class Document; |
| 54 class DocumentType; |
56 class WebAXObject; | 55 class WebAXObject; |
57 class WebDocumentType; | 56 class WebDocumentType; |
58 class WebElement; | 57 class WebElement; |
59 class WebFormElement; | 58 class WebFormElement; |
60 class WebElementCollection; | 59 class WebElementCollection; |
61 class WebNodeList; | 60 class WebNodeList; |
62 class WebString; | 61 class WebString; |
63 class WebURL; | 62 class WebURL; |
64 | 63 |
65 // Provides readonly access to some properties of a DOM document. | 64 // Provides readonly access to some properties of a DOM document. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of | 131 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of |
133 // the selectors matches or stops matching an element in this document. | 132 // the selectors matches or stops matching an element in this document. |
134 // Each call to this method overrides any previous calls. | 133 // Each call to this method overrides any previous calls. |
135 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); | 134 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); |
136 | 135 |
137 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; | 136 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
138 | 137 |
139 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt
ring& name, v8::Handle<v8::Value> options, WebExceptionCode&); | 138 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt
ring& name, v8::Handle<v8::Value> options, WebExceptionCode&); |
140 | 139 |
141 #if BLINK_IMPLEMENTATION | 140 #if BLINK_IMPLEMENTATION |
142 WebDocument(const PassRefPtrWillBeRawPtr<blink::Document>&); | 141 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); |
143 WebDocument& operator=(const PassRefPtrWillBeRawPtr<blink::Document>&); | 142 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); |
144 operator PassRefPtrWillBeRawPtr<blink::Document>() const; | 143 operator PassRefPtrWillBeRawPtr<Document>() const; |
145 #endif | 144 #endif |
146 }; | 145 }; |
147 | 146 |
148 } // namespace blink | 147 } // namespace blink |
149 | 148 |
150 #endif | 149 #endif |
OLD | NEW |