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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp

Issue 1531273003: Add prototype accessors to <framelet>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp
index 4444037b97dee153bda755ffffaa03f61bb72256..332d9c91c8d9fcd3db175762e091274e46788493 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp
@@ -40,6 +40,8 @@ using namespace HTMLNames;
inline HTMLFrameletElement::HTMLFrameletElement(Document& document)
: HTMLElement(frameletTag, document)
, m_webLayer(nullptr)
+ , m_bytesUsed(4242) // FIXME: Dummy value for testing with.
+ , m_trackBytesUsed(true)
{
}
@@ -49,6 +51,11 @@ HTMLFrameletElement::~HTMLFrameletElement()
{
}
+void HTMLFrameletElement::setTrackBytesUsed(const WTF::String& val)
+{
+ m_trackBytesUsed = val == "true";
+}
+
void HTMLFrameletElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style)
{
if (name == widthAttr) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameletElement.h ('k') | third_party/WebKit/Source/core/html/HTMLFrameletElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698