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

Side by Side Diff: sky/engine/core/dom/shadow/ShadowRoot.h

Issue 709203002: Remove more oilpan. (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 27 matching lines...) Expand all
38 class Document; 38 class Document;
39 class ElementShadow; 39 class ElementShadow;
40 class ExceptionState; 40 class ExceptionState;
41 class HTMLShadowElement; 41 class HTMLShadowElement;
42 class InsertionPoint; 42 class InsertionPoint;
43 class ShadowRootRareData; 43 class ShadowRootRareData;
44 class StyleSheetList; 44 class StyleSheetList;
45 45
46 class ShadowRoot final : public DocumentFragment, public TreeScope, public Doubl yLinkedListNode<ShadowRoot> { 46 class ShadowRoot final : public DocumentFragment, public TreeScope, public Doubl yLinkedListNode<ShadowRoot> {
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ShadowRoot);
49 friend class WTF::DoublyLinkedListNode<ShadowRoot>; 48 friend class WTF::DoublyLinkedListNode<ShadowRoot>;
50 public: 49 public:
51 50
52 static PassRefPtr<ShadowRoot> create(Document& document) 51 static PassRefPtr<ShadowRoot> create(Document& document)
53 { 52 {
54 return adoptRef(new ShadowRoot(document)); 53 return adoptRef(new ShadowRoot(document));
55 } 54 }
56 55
57 void recalcStyle(StyleRecalcChange); 56 void recalcStyle(StyleRecalcChange);
58 57
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 { 142 {
144 return adjustedFocusedElement(); 143 return adjustedFocusedElement();
145 } 144 }
146 145
147 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot()); 146 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot());
148 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot()); 147 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot());
149 148
150 } // namespace blink 149 } // namespace blink
151 150
152 #endif // ShadowRoot_h 151 #endif // ShadowRoot_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/shadow/ElementShadow.h ('k') | sky/engine/core/dom/shadow/ShadowRootRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698