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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceNavigation.h

Issue 2422913002: Add serializers for window.performance. (Closed)
Patch Set: remove performance.memory serialization. Created 4 years, 2 months 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/timing/PerformanceNavigation.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigation.h b/third_party/WebKit/Source/core/timing/PerformanceNavigation.h
index 5d282fc33a1237dd4120b12ef964ebc410cd991b..ea1b5ba45f51c3908f4f40e55c52fcd20944cc74 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceNavigation.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceNavigation.h
@@ -39,6 +39,8 @@
namespace blink {
class LocalFrame;
+class ScriptState;
+class ScriptValue;
class CORE_EXPORT PerformanceNavigation final
: public GarbageCollected<PerformanceNavigation>,
@@ -62,6 +64,8 @@ class CORE_EXPORT PerformanceNavigation final
unsigned short type() const;
unsigned short redirectCount() const;
+ ScriptValue toJSONForBinding(ScriptState*) const;
+
DECLARE_VIRTUAL_TRACE();
private:
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.idl ('k') | third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698