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

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

Issue 682413006: Add a separate call to initialize the bounds for a sky <iframe> element. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: . 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
Index: sky/engine/core/html/HTMLIFrameElement.h
diff --git a/sky/engine/core/html/HTMLIFrameElement.h b/sky/engine/core/html/HTMLIFrameElement.h
index 577f4b1d47699a15791ab825be01850f26b38544..d5222cdc529137ae178ce8caa846c6e4b185b73d 100644
--- a/sky/engine/core/html/HTMLIFrameElement.h
+++ b/sky/engine/core/html/HTMLIFrameElement.h
@@ -9,9 +9,12 @@
#include "core/dom/DOMURLUtils.h"
#include "core/dom/Document.h"
#include "core/html/HTMLElement.h"
+#include "wtf/OwnPtr.h"
namespace blink {
+class RemoteFrame;
+
class HTMLIFrameElement : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -19,6 +22,8 @@ public:
virtual ~HTMLIFrameElement();
+ RemoteFrame* contentFrame() const { return m_contentFrame.get(); }
+
private:
explicit HTMLIFrameElement(Document&);
@@ -29,6 +34,8 @@ private:
private:
void createView();
+
+ OwnPtr<RemoteFrame> m_contentFrame;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698