| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007-2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2007-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 25 matching lines...) Expand all Loading... |
| 36 #include "bindings/core/v8/V8Attr.h" | 36 #include "bindings/core/v8/V8Attr.h" |
| 37 #include "bindings/core/v8/V8Binding.h" | 37 #include "bindings/core/v8/V8Binding.h" |
| 38 #include "bindings/core/v8/V8CDATASection.h" | 38 #include "bindings/core/v8/V8CDATASection.h" |
| 39 #include "bindings/core/v8/V8Comment.h" | 39 #include "bindings/core/v8/V8Comment.h" |
| 40 #include "bindings/core/v8/V8Document.h" | 40 #include "bindings/core/v8/V8Document.h" |
| 41 #include "bindings/core/v8/V8DocumentFragment.h" | 41 #include "bindings/core/v8/V8DocumentFragment.h" |
| 42 #include "bindings/core/v8/V8DocumentType.h" | 42 #include "bindings/core/v8/V8DocumentType.h" |
| 43 #include "bindings/core/v8/V8Element.h" | 43 #include "bindings/core/v8/V8Element.h" |
| 44 #include "bindings/core/v8/V8EventListener.h" | 44 #include "bindings/core/v8/V8EventListener.h" |
| 45 #include "bindings/core/v8/V8HTMLElement.h" | 45 #include "bindings/core/v8/V8HTMLElement.h" |
| 46 #include "bindings/core/v8/V8Notation.h" | |
| 47 #include "bindings/core/v8/V8ProcessingInstruction.h" | 46 #include "bindings/core/v8/V8ProcessingInstruction.h" |
| 48 #include "bindings/core/v8/V8SVGElement.h" | 47 #include "bindings/core/v8/V8SVGElement.h" |
| 49 #include "bindings/core/v8/V8ShadowRoot.h" | 48 #include "bindings/core/v8/V8ShadowRoot.h" |
| 50 #include "bindings/core/v8/V8Text.h" | 49 #include "bindings/core/v8/V8Text.h" |
| 51 #include "core/dom/Document.h" | 50 #include "core/dom/Document.h" |
| 52 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 51 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 53 #include "core/dom/shadow/ShadowRoot.h" | 52 #include "core/dom/shadow/ShadowRoot.h" |
| 54 #include "core/events/EventListener.h" | 53 #include "core/events/EventListener.h" |
| 55 #include "wtf/RefPtr.h" | 54 #include "wtf/RefPtr.h" |
| 56 | 55 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 85 return wrap(toDocumentType(impl), creationContext, isolate); | 84 return wrap(toDocumentType(impl), creationContext, isolate); |
| 86 case Node::DOCUMENT_FRAGMENT_NODE: | 85 case Node::DOCUMENT_FRAGMENT_NODE: |
| 87 if (impl->isShadowRoot()) | 86 if (impl->isShadowRoot()) |
| 88 return wrap(toShadowRoot(impl), creationContext, isolate); | 87 return wrap(toShadowRoot(impl), creationContext, isolate); |
| 89 return wrap(toDocumentFragment(impl), creationContext, isolate); | 88 return wrap(toDocumentFragment(impl), creationContext, isolate); |
| 90 } | 89 } |
| 91 ASSERT_NOT_REACHED(); | 90 ASSERT_NOT_REACHED(); |
| 92 return V8Node::createWrapper(impl, creationContext, isolate); | 91 return V8Node::createWrapper(impl, creationContext, isolate); |
| 93 } | 92 } |
| 94 } // namespace blink | 93 } // namespace blink |
| OLD | NEW |