Chromium Code Reviews| Index: sky/engine/core/html/HTMLIFrameElement.h |
| diff --git a/sky/engine/core/html/HTMLIFrameElement.h b/sky/engine/core/html/HTMLIFrameElement.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2985f931f83361623aebb8285dee18eaa5eefc29 |
| --- /dev/null |
| +++ b/sky/engine/core/html/HTMLIFrameElement.h |
| @@ -0,0 +1,40 @@ |
| +// 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 HTMLIFrameElement_h |
| +#define HTMLIFrameElement_h |
| + |
| +#include "core/HTMLNames.h" |
| +#include "core/dom/DOMURLUtils.h" |
| +#include "core/dom/Document.h" |
| +#include "core/html/HTMLElement.h" |
| + |
| +namespace blink { |
| + |
| +class HTMLIFrameElement : public HTMLElement { |
| + DEFINE_WRAPPERTYPEINFO(); |
| +public: |
| + static PassRefPtr<HTMLIFrameElement> create(Document&); |
| + |
| + virtual ~HTMLIFrameElement(); |
| + |
| +private: |
| + explicit HTMLIFrameElement(Document&); |
| + |
| + virtual RenderObject* createRenderer(RenderStyle* style) override; |
| + |
| + virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; |
| + virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| + virtual void removedFrom(ContainerNode*) override; |
| + |
| +private: |
| + void setLocation(const String&); |
| + void openURL(); |
| + |
| + AtomicString m_URL; |
|
abarth-chromium
2014/11/07 19:08:29
Is there a reason to store this value?
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // HTMLIFrameElement_h |