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

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

Issue 2728383002: Make ::first-line invalidation work when added or removed. (Closed)
Patch Set: Fixed review issues. Created 3 years, 9 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) 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-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 const AtomicString& value, 896 const AtomicString& value,
897 SynchronizationOfLazyAttribute); 897 SynchronizationOfLazyAttribute);
898 void appendAttributeInternal(const QualifiedName&, 898 void appendAttributeInternal(const QualifiedName&,
899 const AtomicString& value, 899 const AtomicString& value,
900 SynchronizationOfLazyAttribute); 900 SynchronizationOfLazyAttribute);
901 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); 901 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute);
902 void attributeChangedFromParserOrByCloning(const QualifiedName&, 902 void attributeChangedFromParserOrByCloning(const QualifiedName&,
903 const AtomicString&, 903 const AtomicString&,
904 AttributeModificationReason); 904 AttributeModificationReason);
905 905
906 void pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle,
907 ComputedStyle* newStyle);
908
909 void cancelFocusAppearanceUpdate(); 906 void cancelFocusAppearanceUpdate();
910 907
911 const ComputedStyle* virtualEnsureComputedStyle( 908 const ComputedStyle* virtualEnsureComputedStyle(
912 PseudoId pseudoElementSpecifier = PseudoIdNone) override { 909 PseudoId pseudoElementSpecifier = PseudoIdNone) override {
913 return ensureComputedStyle(pseudoElementSpecifier); 910 return ensureComputedStyle(pseudoElementSpecifier);
914 } 911 }
915 912
916 inline void updateCallbackSelectors(const ComputedStyle* oldStyle, 913 inline void updateCallbackSelectors(const ComputedStyle* oldStyle,
917 const ComputedStyle* newStyle); 914 const ComputedStyle* newStyle);
918 inline void removeCallbackSelectors(); 915 inline void removeCallbackSelectors();
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1201 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1205 static T* create(const QualifiedName&, Document&) 1202 static T* create(const QualifiedName&, Document&)
1206 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1203 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1207 T* T::create(const QualifiedName& tagName, Document& document) { \ 1204 T* T::create(const QualifiedName& tagName, Document& document) { \
1208 return new T(tagName, document); \ 1205 return new T(tagName, document); \
1209 } 1206 }
1210 1207
1211 } // namespace blink 1208 } // namespace blink
1212 1209
1213 #endif // Element_h 1210 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698