blob: fd391bf846dd369e1e731dc5f6d1ea87f7f61626 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef HTMLPictureElement_h
#define HTMLPictureElement_h
#include "core/html/HTMLElement.h"
namespace blink {
class HTMLPictureElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
DECLARE_NODE_FACTORY(HTMLPictureElement);
void SourceOrMediaChanged();
void RemoveListenerFromSourceChildren();
void AddListenerToSourceChildren();
protected:
explicit HTMLPictureElement(Document&);
private:
InsertionNotificationRequest InsertedInto(ContainerNode*) override;
};
} // namespace blink
#endif // HTMLPictureElement_h