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

Side by Side Diff: Source/WebCore/dom/ShadowRoot.h

Issue 8002029: Merge 95600 - Style changes on forwarded shadow children should trigger shadow renderer reconstru... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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
« no previous file with comments | « Source/WebCore/dom/NodeRenderingContext.cpp ('k') | Source/WebCore/dom/ShadowRoot.cpp » ('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) 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 25 matching lines...) Expand all
36 class ShadowInclusionSelector; 36 class ShadowInclusionSelector;
37 37
38 class ShadowRoot : public TreeScope { 38 class ShadowRoot : public TreeScope {
39 public: 39 public:
40 static PassRefPtr<ShadowRoot> create(Document*); 40 static PassRefPtr<ShadowRoot> create(Document*);
41 41
42 void recalcShadowTreeStyle(StyleChange); 42 void recalcShadowTreeStyle(StyleChange);
43 43
44 ShadowContentElement* includerFor(Node*) const; 44 ShadowContentElement* includerFor(Node*) const;
45 void hostChildrenChanged(); 45 void hostChildrenChanged();
46 bool isInclusionSelectorActive() const;
46 47
47 virtual void attach(); 48 virtual void attach();
48 49
49 virtual bool applyAuthorSheets() const; 50 virtual bool applyAuthorSheets() const;
50 void setApplyAuthorSheets(bool); 51 void setApplyAuthorSheets(bool);
51 52
52 ShadowInclusionSelector* inclusions() const; 53 ShadowInclusionSelector* inclusions() const;
53 ShadowInclusionSelector* ensureInclusions(); 54 ShadowInclusionSelector* ensureInclusions();
54 55
55 private: 56 private:
(...skipping 18 matching lines...) Expand all
74 75
75 inline ShadowRoot* toShadowRoot(Node* node) 76 inline ShadowRoot* toShadowRoot(Node* node)
76 { 77 {
77 ASSERT(!node || node->nodeType() == Node::SHADOW_ROOT_NODE); 78 ASSERT(!node || node->nodeType() == Node::SHADOW_ROOT_NODE);
78 return static_cast<ShadowRoot*>(node); 79 return static_cast<ShadowRoot*>(node);
79 } 80 }
80 81
81 } // namespace 82 } // namespace
82 83
83 #endif 84 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/NodeRenderingContext.cpp ('k') | Source/WebCore/dom/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698