blob: 27d6d85043716751944061394a6f78e169b1b0d7 [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 THIRD_PARTY_BLINK_RENDERER_CORE_HTML_HTML_PICTURE_ELEMENT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_HTML_PICTURE_ELEMENT_H_
#include "third_party/blink/renderer/core/html/html_element.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 // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_HTML_PICTURE_ELEMENT_H_