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

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

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/Element.h ('k') | sky/engine/core/dom/ElementData.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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public 11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either 12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version. 13 * version 2 of the License, or (at your option) any later version.
14 * 14 *
15 * This library is distributed in the hope that it will be useful, 15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details. 18 * Library General Public License for more details.
19 * 19 *
20 * You should have received a copy of the GNU Library General Public License 20 * You should have received a copy of the GNU Library General Public License
21 * along with this library; see the file COPYING.LIB. If not, write to 21 * along with this library; see the file COPYING.LIB. If not, write to
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "sky/engine/config.h"
27 #include "core/dom/Element.h" 27 #include "sky/engine/core/dom/Element.h"
28 28
29 #include "bindings/core/v8/Dictionary.h"
30 #include "bindings/core/v8/ExceptionMessages.h"
31 #include "bindings/core/v8/ExceptionState.h"
32 #include "gen/sky/core/CSSValueKeywords.h" 29 #include "gen/sky/core/CSSValueKeywords.h"
33 #include "gen/sky/core/HTMLNames.h" 30 #include "gen/sky/core/HTMLNames.h"
34 #include "core/animation/AnimationTimeline.h"
35 #include "core/animation/css/CSSAnimations.h"
36 #include "core/css/CSSImageValue.h"
37 #include "core/css/CSSStyleSheet.h"
38 #include "core/css/CSSValuePool.h"
39 #include "core/css/PropertySetCSSStyleDeclaration.h"
40 #include "core/css/StylePropertySet.h"
41 #include "core/css/parser/BisonCSSParser.h"
42 #include "core/css/resolver/StyleResolver.h"
43 #include "core/dom/Attr.h"
44 #include "core/dom/ClientRect.h"
45 #include "core/dom/ClientRectList.h"
46 #include "core/dom/ElementDataCache.h"
47 #include "core/dom/ElementRareData.h"
48 #include "core/dom/ElementTraversal.h"
49 #include "core/dom/ExceptionCode.h"
50 #include "core/dom/MutationObserverInterestGroup.h"
51 #include "core/dom/MutationRecord.h"
52 #include "core/dom/NodeRenderStyle.h"
53 #include "core/dom/RenderTreeBuilder.h"
54 #include "core/dom/SelectorQuery.h"
55 #include "core/dom/StyleEngine.h"
56 #include "core/dom/Text.h"
57 #include "core/dom/custom/CustomElement.h"
58 #include "core/dom/custom/CustomElementRegistrationContext.h"
59 #include "core/dom/shadow/InsertionPoint.h"
60 #include "core/dom/shadow/ShadowRoot.h"
61 #include "core/editing/FrameSelection.h"
62 #include "core/editing/TextIterator.h"
63 #include "core/editing/htmlediting.h"
64 #include "core/editing/markup.h"
65 #include "core/events/EventDispatcher.h"
66 #include "core/events/FocusEvent.h"
67 #include "core/frame/FrameView.h"
68 #include "core/frame/LocalFrame.h"
69 #include "core/frame/Settings.h"
70 #include "core/frame/UseCounter.h"
71 #include "core/html/ClassList.h"
72 #include "core/html/HTMLCanvasElement.h"
73 #include "core/html/HTMLDocument.h"
74 #include "core/html/HTMLElement.h"
75 #include "core/html/HTMLTemplateElement.h"
76 #include "core/html/parser/HTMLDocumentParser.h"
77 #include "core/html/parser/HTMLParserIdioms.h"
78 #include "core/page/Chrome.h"
79 #include "core/page/ChromeClient.h"
80 #include "core/page/FocusController.h"
81 #include "core/page/Page.h"
82 #include "core/rendering/RenderLayer.h"
83 #include "core/rendering/RenderView.h"
84 #include "core/rendering/compositing/RenderLayerCompositor.h"
85 #include "platform/EventDispatchForbiddenScope.h"
86 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 31 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
87 #include "platform/UserGestureIndicator.h" 32 #include "sky/engine/bindings/core/v8/Dictionary.h"
88 #include "platform/scroll/ScrollableArea.h" 33 #include "sky/engine/bindings/core/v8/ExceptionMessages.h"
89 #include "wtf/BitVector.h" 34 #include "sky/engine/bindings/core/v8/ExceptionState.h"
90 #include "wtf/HashFunctions.h" 35 #include "sky/engine/core/animation/AnimationTimeline.h"
91 #include "wtf/text/CString.h" 36 #include "sky/engine/core/animation/css/CSSAnimations.h"
92 #include "wtf/text/StringBuilder.h" 37 #include "sky/engine/core/css/CSSImageValue.h"
93 #include "wtf/text/TextPosition.h" 38 #include "sky/engine/core/css/CSSStyleSheet.h"
39 #include "sky/engine/core/css/CSSValuePool.h"
40 #include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h"
41 #include "sky/engine/core/css/StylePropertySet.h"
42 #include "sky/engine/core/css/parser/BisonCSSParser.h"
43 #include "sky/engine/core/css/resolver/StyleResolver.h"
44 #include "sky/engine/core/dom/Attr.h"
45 #include "sky/engine/core/dom/ClientRect.h"
46 #include "sky/engine/core/dom/ClientRectList.h"
47 #include "sky/engine/core/dom/ElementDataCache.h"
48 #include "sky/engine/core/dom/ElementRareData.h"
49 #include "sky/engine/core/dom/ElementTraversal.h"
50 #include "sky/engine/core/dom/ExceptionCode.h"
51 #include "sky/engine/core/dom/MutationObserverInterestGroup.h"
52 #include "sky/engine/core/dom/MutationRecord.h"
53 #include "sky/engine/core/dom/NodeRenderStyle.h"
54 #include "sky/engine/core/dom/RenderTreeBuilder.h"
55 #include "sky/engine/core/dom/SelectorQuery.h"
56 #include "sky/engine/core/dom/StyleEngine.h"
57 #include "sky/engine/core/dom/Text.h"
58 #include "sky/engine/core/dom/custom/CustomElement.h"
59 #include "sky/engine/core/dom/custom/CustomElementRegistrationContext.h"
60 #include "sky/engine/core/dom/shadow/InsertionPoint.h"
61 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
62 #include "sky/engine/core/editing/FrameSelection.h"
63 #include "sky/engine/core/editing/TextIterator.h"
64 #include "sky/engine/core/editing/htmlediting.h"
65 #include "sky/engine/core/editing/markup.h"
66 #include "sky/engine/core/events/EventDispatcher.h"
67 #include "sky/engine/core/events/FocusEvent.h"
68 #include "sky/engine/core/frame/FrameView.h"
69 #include "sky/engine/core/frame/LocalFrame.h"
70 #include "sky/engine/core/frame/Settings.h"
71 #include "sky/engine/core/frame/UseCounter.h"
72 #include "sky/engine/core/html/ClassList.h"
73 #include "sky/engine/core/html/HTMLCanvasElement.h"
74 #include "sky/engine/core/html/HTMLDocument.h"
75 #include "sky/engine/core/html/HTMLElement.h"
76 #include "sky/engine/core/html/HTMLTemplateElement.h"
77 #include "sky/engine/core/html/parser/HTMLDocumentParser.h"
78 #include "sky/engine/core/html/parser/HTMLParserIdioms.h"
79 #include "sky/engine/core/page/Chrome.h"
80 #include "sky/engine/core/page/ChromeClient.h"
81 #include "sky/engine/core/page/FocusController.h"
82 #include "sky/engine/core/page/Page.h"
83 #include "sky/engine/core/rendering/RenderLayer.h"
84 #include "sky/engine/core/rendering/RenderView.h"
85 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h"
86 #include "sky/engine/platform/EventDispatchForbiddenScope.h"
87 #include "sky/engine/platform/UserGestureIndicator.h"
88 #include "sky/engine/platform/scroll/ScrollableArea.h"
89 #include "sky/engine/wtf/BitVector.h"
90 #include "sky/engine/wtf/HashFunctions.h"
91 #include "sky/engine/wtf/text/CString.h"
92 #include "sky/engine/wtf/text/StringBuilder.h"
93 #include "sky/engine/wtf/text/TextPosition.h"
94 94
95 namespace blink { 95 namespace blink {
96 96
97 PassRefPtr<Element> Element::create(const QualifiedName& tagName, Document* docu ment) 97 PassRefPtr<Element> Element::create(const QualifiedName& tagName, Document* docu ment)
98 { 98 {
99 return adoptRef(new Element(tagName, document, CreateElement)); 99 return adoptRef(new Element(tagName, document, CreateElement));
100 } 100 }
101 101
102 Element::Element(const QualifiedName& tagName, Document* document, ConstructionT ype type) 102 Element::Element(const QualifiedName& tagName, Document* document, ConstructionT ype type)
103 : ContainerNode(document, type) 103 : ContainerNode(document, type)
(...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 return false; 1790 return false;
1791 // Turn off style sharing for elements that can gain layers for reasons outs ide of the style system. 1791 // Turn off style sharing for elements that can gain layers for reasons outs ide of the style system.
1792 // See comments in RenderObject::setStyle(). 1792 // See comments in RenderObject::setStyle().
1793 // FIXME: Why does gaining a layer from outside the style system require dis abling sharing? 1793 // FIXME: Why does gaining a layer from outside the style system require dis abling sharing?
1794 if (isHTMLCanvasElement(*this)) 1794 if (isHTMLCanvasElement(*this))
1795 return false; 1795 return false;
1796 return true; 1796 return true;
1797 } 1797 }
1798 1798
1799 } // namespace blink 1799 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.h ('k') | sky/engine/core/dom/ElementData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698