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

Unified Diff: sky/engine/core/html/HTMLIFrameElement.h

Issue 708903002: Initial work on a new <view> element backed by a mojo::View. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: m_URL Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..577f4b1d47699a15791ab825be01850f26b38544
--- /dev/null
+++ b/sky/engine/core/html/HTMLIFrameElement.h
@@ -0,0 +1,36 @@
+// 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 InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void removedFrom(ContainerNode*) override;
+
+private:
+ void createView();
+};
+
+} // namespace blink
+
+#endif // HTMLIFrameElement_h
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698