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

Side by Side Diff: sky/engine/core/dom/Document.cpp

Issue 950523002: Delete sky/engine/core/dom/custom (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "sky/engine/core/dom/NodeRenderStyle.h" 59 #include "sky/engine/core/dom/NodeRenderStyle.h"
60 #include "sky/engine/core/dom/NodeRenderingTraversal.h" 60 #include "sky/engine/core/dom/NodeRenderingTraversal.h"
61 #include "sky/engine/core/dom/NodeTraversal.h" 61 #include "sky/engine/core/dom/NodeTraversal.h"
62 #include "sky/engine/core/dom/NodeWithIndex.h" 62 #include "sky/engine/core/dom/NodeWithIndex.h"
63 #include "sky/engine/core/dom/RequestAnimationFrameCallback.h" 63 #include "sky/engine/core/dom/RequestAnimationFrameCallback.h"
64 #include "sky/engine/core/dom/ScriptedAnimationController.h" 64 #include "sky/engine/core/dom/ScriptedAnimationController.h"
65 #include "sky/engine/core/dom/SelectorQuery.h" 65 #include "sky/engine/core/dom/SelectorQuery.h"
66 #include "sky/engine/core/dom/StaticNodeList.h" 66 #include "sky/engine/core/dom/StaticNodeList.h"
67 #include "sky/engine/core/dom/StyleEngine.h" 67 #include "sky/engine/core/dom/StyleEngine.h"
68 #include "sky/engine/core/dom/Text.h" 68 #include "sky/engine/core/dom/Text.h"
69 #include "sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h"
70 #include "sky/engine/core/dom/custom2/new_custom_element_registry.h" 69 #include "sky/engine/core/dom/custom2/new_custom_element_registry.h"
71 #include "sky/engine/core/dom/shadow/ElementShadow.h" 70 #include "sky/engine/core/dom/shadow/ElementShadow.h"
72 #include "sky/engine/core/dom/shadow/ShadowRoot.h" 71 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
73 #include "sky/engine/core/editing/FrameSelection.h" 72 #include "sky/engine/core/editing/FrameSelection.h"
74 #include "sky/engine/core/editing/SpellChecker.h" 73 #include "sky/engine/core/editing/SpellChecker.h"
75 #include "sky/engine/core/events/Event.h" 74 #include "sky/engine/core/events/Event.h"
76 #include "sky/engine/core/events/EventListener.h" 75 #include "sky/engine/core/events/EventListener.h"
77 #include "sky/engine/core/events/HashChangeEvent.h" 76 #include "sky/engine/core/events/HashChangeEvent.h"
78 #include "sky/engine/core/events/PageTransitionEvent.h" 77 #include "sky/engine/core/events/PageTransitionEvent.h"
79 #include "sky/engine/core/events/ScopedEventQueue.h" 78 #include "sky/engine/core/events/ScopedEventQueue.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 415 }
417 416
418 return HTMLElementFactory::createElement(name, *this, false); 417 return HTMLElementFactory::createElement(name, *this, false);
419 } 418 }
420 419
421 void Document::registerElement(const AtomicString& name, PassRefPtr<DartValue> t ype, ExceptionState& es) 420 void Document::registerElement(const AtomicString& name, PassRefPtr<DartValue> t ype, ExceptionState& es)
422 { 421 {
423 m_elementRegistry->RegisterElement(name, type); 422 m_elementRegistry->RegisterElement(name, type);
424 } 423 }
425 424
426 CustomElementMicrotaskRunQueue* Document::customElementMicrotaskRunQueue()
427 {
428 if (!m_customElementMicrotaskRunQueue)
429 m_customElementMicrotaskRunQueue = CustomElementMicrotaskRunQueue::creat e();
430 return m_customElementMicrotaskRunQueue.get();
431 }
432
433 void Document::setImportsController(HTMLImportsController* controller) 425 void Document::setImportsController(HTMLImportsController* controller)
434 { 426 {
435 ASSERT(!m_importsController || !controller); 427 ASSERT(!m_importsController || !controller);
436 m_importsController = controller; 428 m_importsController = controller;
437 } 429 }
438 430
439 HTMLImportsController& Document::ensureImportsController() 431 HTMLImportsController& Document::ensureImportsController()
440 { 432 {
441 if (!m_importsController) { 433 if (!m_importsController) {
442 ASSERT(frame()); // The document should be the master. 434 ASSERT(frame()); // The document should be the master.
(...skipping 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after
2223 using namespace blink; 2215 using namespace blink;
2224 void showLiveDocumentInstances() 2216 void showLiveDocumentInstances()
2225 { 2217 {
2226 WeakDocumentSet& set = liveDocumentSet(); 2218 WeakDocumentSet& set = liveDocumentSet();
2227 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 2219 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
2228 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) { 2220 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) {
2229 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data()); 2221 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data());
2230 } 2222 }
2231 } 2223 }
2232 #endif 2224 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698