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

Side by Side Diff: Source/core/dom/ElementRareData.h

Issue 17038004: Remove needsShadowTreeWalker flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.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) 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 28 matching lines...) Expand all
39 class HTMLElement; 39 class HTMLElement;
40 40
41 class ElementRareData : public NodeRareData { 41 class ElementRareData : public NodeRareData {
42 public: 42 public:
43 static PassOwnPtr<ElementRareData> create(RenderObject* renderer) { return a doptPtr(new ElementRareData(renderer)); } 43 static PassOwnPtr<ElementRareData> create(RenderObject* renderer) { return a doptPtr(new ElementRareData(renderer)); }
44 44
45 ~ElementRareData(); 45 ~ElementRareData();
46 46
47 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>); 47 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>);
48 PseudoElement* pseudoElement(PseudoId) const; 48 PseudoElement* pseudoElement(PseudoId) const;
49 bool hasPseudoElements() const { return m_generatedBefore || m_generatedAfte r; }
50 49
51 void resetComputedStyle(); 50 void resetComputedStyle();
52 void resetDynamicRestyleObservations(); 51 void resetDynamicRestyleObservations();
53 52
54 short tabIndex() const { return m_tabIndex; } 53 short tabIndex() const { return m_tabIndex; }
55 void setTabIndexExplicitly(short index) { m_tabIndex = index; m_tabIndexWasS etExplicitly = true; } 54 void setTabIndexExplicitly(short index) { m_tabIndex = index; m_tabIndexWasS etExplicitly = true; }
56 bool tabIndexSetExplicitly() const { return m_tabIndexWasSetExplicitly; } 55 bool tabIndexSetExplicitly() const { return m_tabIndexWasSetExplicitly; }
57 void clearTabIndexExplicitly() { m_tabIndex = 0; m_tabIndexWasSetExplicitly = false; } 56 void clearTabIndexExplicitly() { m_tabIndex = 0; m_tabIndexWasSetExplicitly = false; }
58 57
59 bool needsFocusAppearanceUpdateSoonAfterAttach() const { return m_needsFocus AppearanceUpdateSoonAfterAttach; } 58 bool needsFocusAppearanceUpdateSoonAfterAttach() const { return m_needsFocus AppearanceUpdateSoonAfterAttach; }
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 setChildrenAffectedByFirstChildRules(false); 275 setChildrenAffectedByFirstChildRules(false);
277 setChildrenAffectedByLastChildRules(false); 276 setChildrenAffectedByLastChildRules(false);
278 setChildrenAffectedByDirectAdjacentRules(false); 277 setChildrenAffectedByDirectAdjacentRules(false);
279 setChildrenAffectedByForwardPositionalRules(false); 278 setChildrenAffectedByForwardPositionalRules(false);
280 setChildrenAffectedByBackwardPositionalRules(false); 279 setChildrenAffectedByBackwardPositionalRules(false);
281 } 280 }
282 281
283 } // namespace 282 } // namespace
284 283
285 #endif // ElementRareData_h 284 #endif // ElementRareData_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698