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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/ElementShadow.h

Issue 1866663002: Remove unnecessary includes from dom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 18 matching lines...) Expand all
29 29
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/dom/shadow/InsertionPoint.h" 31 #include "core/dom/shadow/InsertionPoint.h"
32 #include "core/dom/shadow/SelectRuleFeatureSet.h" 32 #include "core/dom/shadow/SelectRuleFeatureSet.h"
33 #include "core/dom/shadow/ShadowRoot.h" 33 #include "core/dom/shadow/ShadowRoot.h"
34 #include "core/dom/shadow/SlotAssignment.h" 34 #include "core/dom/shadow/SlotAssignment.h"
35 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
36 #include "wtf/DoublyLinkedList.h" 36 #include "wtf/DoublyLinkedList.h"
37 #include "wtf/HashMap.h" 37 #include "wtf/HashMap.h"
38 #include "wtf/Noncopyable.h" 38 #include "wtf/Noncopyable.h"
39 #include "wtf/PassOwnPtr.h"
40 39
41 namespace blink { 40 namespace blink {
42 41
43 class CORE_EXPORT ElementShadow final : public GarbageCollectedFinalized<Element Shadow> { 42 class CORE_EXPORT ElementShadow final : public GarbageCollectedFinalized<Element Shadow> {
44 WTF_MAKE_NONCOPYABLE(ElementShadow); 43 WTF_MAKE_NONCOPYABLE(ElementShadow);
45 public: 44 public:
46 static RawPtr<ElementShadow> create(); 45 static RawPtr<ElementShadow> create();
47 ~ElementShadow(); 46 ~ElementShadow();
48 47
49 Element* host() const; 48 Element* host() const;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 inline void ElementShadow::distributeIfNeeded() 162 inline void ElementShadow::distributeIfNeeded()
164 { 163 {
165 if (m_needsDistributionRecalc) 164 if (m_needsDistributionRecalc)
166 distribute(); 165 distribute();
167 m_needsDistributionRecalc = false; 166 m_needsDistributionRecalc = false;
168 } 167 }
169 168
170 } // namespace blink 169 } // namespace blink
171 170
172 #endif 171 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698