OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef HTMLIFrameElement_h | |
6 #define HTMLIFrameElement_h | |
7 | |
8 #include "core/HTMLNames.h" | |
9 #include "core/dom/DOMURLUtils.h" | |
10 #include "core/dom/Document.h" | |
11 #include "core/html/HTMLElement.h" | |
12 | |
13 namespace blink { | |
14 | |
15 class HTMLIFrameElement : public HTMLElement { | |
16 DEFINE_WRAPPERTYPEINFO(); | |
17 public: | |
18 static PassRefPtr<HTMLIFrameElement> create(Document&); | |
19 | |
20 virtual ~HTMLIFrameElement(); | |
21 | |
22 private: | |
23 explicit HTMLIFrameElement(Document&); | |
24 | |
25 virtual RenderObject* createRenderer(RenderStyle* style) override; | |
26 | |
27 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; | |
28 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | |
29 virtual void removedFrom(ContainerNode*) override; | |
30 | |
31 private: | |
32 void setLocation(const String&); | |
33 void openURL(); | |
34 | |
35 AtomicString m_URL; | |
abarth-chromium
2014/11/07 19:08:29
Is there a reason to store this value?
| |
36 }; | |
37 | |
38 } // namespace blink | |
39 | |
40 #endif // HTMLIFrameElement_h | |
OLD | NEW |