| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2012 Google Inc. All rights reserved. | 2  * Copyright (C) 2012 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 20 matching lines...) Expand all  Loading... | 
| 31 #include "config.h" | 31 #include "config.h" | 
| 32 #include "bindings/v8/CustomElementWrapper.h" | 32 #include "bindings/v8/CustomElementWrapper.h" | 
| 33 | 33 | 
| 34 #include "V8HTMLElement.h" | 34 #include "V8HTMLElement.h" | 
| 35 #include "V8HTMLElementWrapperFactory.h" | 35 #include "V8HTMLElementWrapperFactory.h" | 
| 36 #include "V8SVGElement.h" | 36 #include "V8SVGElement.h" | 
| 37 #include "V8SVGElementWrapperFactory.h" | 37 #include "V8SVGElementWrapperFactory.h" | 
| 38 #include "bindings/v8/DOMDataStore.h" | 38 #include "bindings/v8/DOMDataStore.h" | 
| 39 #include "bindings/v8/DOMWrapperWorld.h" | 39 #include "bindings/v8/DOMWrapperWorld.h" | 
| 40 #include "bindings/v8/V8PerContextData.h" | 40 #include "bindings/v8/V8PerContextData.h" | 
| 41 #include "core/dom/CustomElement.h" | 41 #include "core/dom/custom/CustomElement.h" | 
| 42 #include "core/html/HTMLElement.h" | 42 #include "core/html/HTMLElement.h" | 
| 43 #include "core/html/HTMLUnknownElement.h" | 43 #include "core/html/HTMLUnknownElement.h" | 
| 44 #include "core/svg/SVGElement.h" | 44 #include "core/svg/SVGElement.h" | 
| 45 | 45 | 
| 46 namespace WebCore { | 46 namespace WebCore { | 
| 47 | 47 | 
| 48 template<typename ElementType> | 48 template<typename ElementType> | 
| 49 v8::Handle<v8::Object> createDirectWrapper(ElementType*, v8::Handle<v8::Object> 
     creationContext, v8::Isolate*); | 49 v8::Handle<v8::Object> createDirectWrapper(ElementType*, v8::Handle<v8::Object> 
     creationContext, v8::Isolate*); | 
| 50 | 50 | 
| 51 template<> | 51 template<> | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 113     return wrapper; | 113     return wrapper; | 
| 114 } | 114 } | 
| 115 | 115 | 
| 116 template | 116 template | 
| 117 class CustomElementWrapper<HTMLElement, V8HTMLElement>; | 117 class CustomElementWrapper<HTMLElement, V8HTMLElement>; | 
| 118 | 118 | 
| 119 template | 119 template | 
| 120 class CustomElementWrapper<SVGElement, V8SVGElement>; | 120 class CustomElementWrapper<SVGElement, V8SVGElement>; | 
| 121 | 121 | 
| 122 } // namespace WebCore | 122 } // namespace WebCore | 
| OLD | NEW | 
|---|