| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "V8HTMLElement.h" | 42 #include "V8HTMLElement.h" |
| 43 #include "V8Notation.h" | 43 #include "V8Notation.h" |
| 44 #include "V8ProcessingInstruction.h" | 44 #include "V8ProcessingInstruction.h" |
| 45 #include "V8SVGElement.h" | 45 #include "V8SVGElement.h" |
| 46 #include "V8ShadowRoot.h" | 46 #include "V8ShadowRoot.h" |
| 47 #include "V8Text.h" | 47 #include "V8Text.h" |
| 48 #include "bindings/v8/ExceptionState.h" | 48 #include "bindings/v8/ExceptionState.h" |
| 49 #include "bindings/v8/V8AbstractEventListener.h" | 49 #include "bindings/v8/V8AbstractEventListener.h" |
| 50 #include "bindings/v8/V8Binding.h" | 50 #include "bindings/v8/V8Binding.h" |
| 51 #include "bindings/v8/V8EventListener.h" | 51 #include "bindings/v8/V8EventListener.h" |
| 52 #include "core/dom/CustomElementCallbackDispatcher.h" | |
| 53 #include "core/dom/Document.h" | 52 #include "core/dom/Document.h" |
| 53 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 54 #include "core/events/EventListener.h" | 54 #include "core/events/EventListener.h" |
| 55 #include "core/dom/shadow/ShadowRoot.h" | 55 #include "core/dom/shadow/ShadowRoot.h" |
| 56 #include "wtf/RefPtr.h" | 56 #include "wtf/RefPtr.h" |
| 57 | 57 |
| 58 namespace WebCore { | 58 namespace WebCore { |
| 59 | 59 |
| 60 // This function is customized to take advantage of the optional 4th argument: A
ttachBehavior | 60 // This function is customized to take advantage of the optional 4th argument: A
ttachBehavior |
| 61 void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
args) | 61 void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
args) |
| 62 { | 62 { |
| 63 v8::Handle<v8::Object> holder = args.Holder(); | 63 v8::Handle<v8::Object> holder = args.Holder(); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 case Node::NOTATION_NODE: | 155 case Node::NOTATION_NODE: |
| 156 // We never create objects of Entity and Notation. | 156 // We never create objects of Entity and Notation. |
| 157 ASSERT_NOT_REACHED(); | 157 ASSERT_NOT_REACHED(); |
| 158 break; | 158 break; |
| 159 default: | 159 default: |
| 160 break; // ENTITY_REFERENCE_NODE or XPATH_NAMESPACE_NODE | 160 break; // ENTITY_REFERENCE_NODE or XPATH_NAMESPACE_NODE |
| 161 } | 161 } |
| 162 return V8Node::createWrapper(impl, creationContext, isolate); | 162 return V8Node::createWrapper(impl, creationContext, isolate); |
| 163 } | 163 } |
| 164 } // namespace WebCore | 164 } // namespace WebCore |
| OLD | NEW |