Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: Source/bindings/core/v8/custom/V8NodeCustom.cpp

Issue 503043003: Rename CustomElementCallbackDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Full patch Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 30 matching lines...) Expand all
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/V8ProcessingInstruction.h" 46 #include "bindings/core/v8/V8ProcessingInstruction.h"
47 #include "bindings/core/v8/V8SVGElement.h" 47 #include "bindings/core/v8/V8SVGElement.h"
48 #include "bindings/core/v8/V8ShadowRoot.h" 48 #include "bindings/core/v8/V8ShadowRoot.h"
49 #include "bindings/core/v8/V8Text.h" 49 #include "bindings/core/v8/V8Text.h"
50 #include "core/dom/Document.h" 50 #include "core/dom/Document.h"
51 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 51 #include "core/dom/custom/CustomElementProcessingStack.h"
dominicc (has gone to gerrit) 2014/09/03 07:56:59 Is this even needed here? Probably someone removed
52 #include "core/dom/shadow/ShadowRoot.h" 52 #include "core/dom/shadow/ShadowRoot.h"
53 #include "core/events/EventListener.h" 53 #include "core/events/EventListener.h"
54 #include "wtf/RefPtr.h" 54 #include "wtf/RefPtr.h"
55 55
56 namespace blink { 56 namespace blink {
57 57
58 // These functions are custom to prevent a wrapper lookup of the return value wh ich is always 58 // These functions are custom to prevent a wrapper lookup of the return value wh ich is always
59 // part of the arguments. 59 // part of the arguments.
60 v8::Handle<v8::Object> wrap(Node* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 60 v8::Handle<v8::Object> wrap(Node* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
61 { 61 {
(...skipping 22 matching lines...) Expand all
84 return wrap(toDocumentType(impl), creationContext, isolate); 84 return wrap(toDocumentType(impl), creationContext, isolate);
85 case Node::DOCUMENT_FRAGMENT_NODE: 85 case Node::DOCUMENT_FRAGMENT_NODE:
86 if (impl->isShadowRoot()) 86 if (impl->isShadowRoot())
87 return wrap(toShadowRoot(impl), creationContext, isolate); 87 return wrap(toShadowRoot(impl), creationContext, isolate);
88 return wrap(toDocumentFragment(impl), creationContext, isolate); 88 return wrap(toDocumentFragment(impl), creationContext, isolate);
89 } 89 }
90 ASSERT_NOT_REACHED(); 90 ASSERT_NOT_REACHED();
91 return V8Node::createWrapper(impl, creationContext, isolate); 91 return V8Node::createWrapper(impl, creationContext, isolate);
92 } 92 }
93 } // namespace blink 93 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698