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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLFrameletElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameletElement.h b/third_party/WebKit/Source/core/html/HTMLFrameletElement.h
index 8255ef782099f277d06e84cdca08aecf0139747c..c9a6d9eb09897086b5aba3fb7a14fae5fe7e4195 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameletElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameletElement.h
@@ -41,6 +41,10 @@ public:
BLINK_EXPORT void setWebLayer(WebLayer*);
WebLayer* webLayer() { return m_webLayer; }
+ WTF::String bytesUsed() const { return WTF::String::number(m_bytesUsed); }
+ WTF::String trackBytesUsed() const { return m_trackBytesUsed ? WTF::String("true") : WTF::String("false"); }
+ void setTrackBytesUsed(const WTF::String& val);
+
// Node overrides
bool isFrameletElement() const override { return true; }
@@ -59,6 +63,8 @@ private:
void didNotifySubtreeInsertionsToDocument() final;
WebLayer* m_webLayer;
+ int m_bytesUsed;
+ bool m_trackBytesUsed;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698