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

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

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Sync Created 7 years, 2 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/core/dom/Document.h ('k') | Source/core/dom/Element.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) 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 #ifndef NDEBUG 744 #ifndef NDEBUG
745 virtual void formatForDebugger(char* buffer, unsigned length) const; 745 virtual void formatForDebugger(char* buffer, unsigned length) const;
746 #endif 746 #endif
747 747
748 bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle* newStyle); 748 bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle* newStyle);
749 749
750 void cancelFocusAppearanceUpdate(); 750 void cancelFocusAppearanceUpdate();
751 751
752 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } 752 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementSpecifier); }
753 753
754 void updateCallbackSelectors(RenderStyle* oldStyle, RenderStyle* newStyle);
755
754 // cloneNode is private so that non-virtual cloneElementWithChildren and clo neElementWithoutChildren 756 // cloneNode is private so that non-virtual cloneElementWithChildren and clo neElementWithoutChildren
755 // are used instead. 757 // are used instead.
756 virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE; 758 virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE;
757 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); 759 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
758 760
759 QualifiedName m_tagName; 761 QualifiedName m_tagName;
760 bool rareDataStyleAffectedByEmpty() const; 762 bool rareDataStyleAffectedByEmpty() const;
761 bool rareDataChildrenAffectedByHover() const; 763 bool rareDataChildrenAffectedByHover() const;
762 bool rareDataChildrenAffectedByActive() const; 764 bool rareDataChildrenAffectedByActive() const;
763 bool rareDataChildrenAffectedByDrag() const; 765 bool rareDataChildrenAffectedByDrag() const;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 1096
1095 inline const Attribute* ElementData::attributeItem(unsigned index) const 1097 inline const Attribute* ElementData::attributeItem(unsigned index) const
1096 { 1098 {
1097 RELEASE_ASSERT(index < length()); 1099 RELEASE_ASSERT(index < length());
1098 return attributeBase() + index; 1100 return attributeBase() + index;
1099 } 1101 }
1100 1102
1101 } // namespace 1103 } // namespace
1102 1104
1103 #endif 1105 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698