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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.h

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 Optional<IntRect> cropRect, 122 Optional<IntRect> cropRect,
123 const ImageBitmapOptions&, 123 const ImageBitmapOptions&,
124 ExceptionState&) override; 124 ExceptionState&) override;
125 125
126 private: 126 private:
127 HTMLVideoElement(Document&); 127 HTMLVideoElement(Document&);
128 128
129 bool layoutObjectIsNeeded(const ComputedStyle&) override; 129 bool layoutObjectIsNeeded(const ComputedStyle&) override;
130 LayoutObject* createLayoutObject(const ComputedStyle&) override; 130 LayoutObject* createLayoutObject(const ComputedStyle&) override;
131 void attachLayoutTree(const AttachContext& = AttachContext()) override; 131 void attachLayoutTree(const AttachContext& = AttachContext()) override;
132 void parseAttribute(const QualifiedName&, 132 void parseAttribute(const AttributeModificationParams&) override;
133 const AtomicString&,
134 const AtomicString&) override;
135 bool isPresentationAttribute(const QualifiedName&) const override; 133 bool isPresentationAttribute(const QualifiedName&) const override;
136 void collectStyleForPresentationAttribute(const QualifiedName&, 134 void collectStyleForPresentationAttribute(const QualifiedName&,
137 const AtomicString&, 135 const AtomicString&,
138 MutableStylePropertySet*) override; 136 MutableStylePropertySet*) override;
139 bool isURLAttribute(const Attribute&) const override; 137 bool isURLAttribute(const Attribute&) const override;
140 const AtomicString imageSourceURL() const override; 138 const AtomicString imageSourceURL() const override;
141 139
142 void updateDisplayState() override; 140 void updateDisplayState() override;
143 void didMoveToNewDocument(Document& oldDocument) override; 141 void didMoveToNewDocument(Document& oldDocument) override;
144 void setDisplayMode(DisplayMode) override; 142 void setDisplayMode(DisplayMode) override;
145 143
146 Member<HTMLImageLoader> m_imageLoader; 144 Member<HTMLImageLoader> m_imageLoader;
147 145
148 AtomicString m_defaultPosterURL; 146 AtomicString m_defaultPosterURL;
149 }; 147 };
150 148
151 } // namespace blink 149 } // namespace blink
152 150
153 #endif // HTMLVideoElement_h 151 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTrackElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698