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 14 matching lines...) Expand all Loading... | |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef V8Index_h | 31 #ifndef V8Index_h |
32 #define V8Index_h | 32 #define V8Index_h |
33 | 33 |
34 #include <v8.h> | 34 #include <v8.h> |
35 #include "PlatformString.h" // for WebCore::String | 35 #include "PlatformString.h" // for WebCore::String |
michaeln
2009/07/14 19:02:05
I don't see any changes in this file... does it ha
jorlow
2009/07/14 19:12:50
I think there were line ending issues...I'll rever
| |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)(); | 39 typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)(); |
40 | 40 |
41 #if ENABLE(VIDEO) | 41 #if ENABLE(VIDEO) |
42 #define VIDEO_HTMLELEMENT_TYPES(V) \ | 42 #define VIDEO_HTMLELEMENT_TYPES(V) \ |
43 V(HTMLAUDIOELEMENT, HTMLAudioElement) \ | 43 V(HTMLAUDIOELEMENT, HTMLAudioElement) \ |
44 V(HTMLMEDIAELEMENT, HTMLMediaElement) \ | 44 V(HTMLMEDIAELEMENT, HTMLMediaElement) \ |
45 V(HTMLSOURCEELEMENT, HTMLSourceElement) \ | 45 V(HTMLSOURCEELEMENT, HTMLSourceElement) \ |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
517 static FunctionTemplateFactory GetFactory(V8WrapperType type); | 517 static FunctionTemplateFactory GetFactory(V8WrapperType type); |
518 | 518 |
519 // Returns a field to be used as cache for the template for the given ty pe | 519 // Returns a field to be used as cache for the template for the given ty pe |
520 // FIXME: Convert to getCache after all the bindings are in one place. | 520 // FIXME: Convert to getCache after all the bindings are in one place. |
521 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type ); | 521 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type ); |
522 }; | 522 }; |
523 | 523 |
524 } | 524 } |
525 | 525 |
526 #endif // V8Index_h | 526 #endif // V8Index_h |
OLD | NEW |