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

Unified Diff: Source/bindings/tests/results/core/TestDictionary.h

Issue 860353002: IDL: Add toRestricted{Float,Double}() helpers to V8Binding.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/bindings/tests/results/core/TestDictionary.h
diff --git a/Source/bindings/tests/results/core/TestDictionary.h b/Source/bindings/tests/results/core/TestDictionary.h
index 5e7184d33d62a11e6261954de27799398ed7e268..75ad35200284d315c84d93517ca28e3225bf61a2 100644
--- a/Source/bindings/tests/results/core/TestDictionary.h
+++ b/Source/bindings/tests/results/core/TestDictionary.h
@@ -128,6 +128,10 @@ public:
PassRefPtr<DOMUint8Array> uint8ArrayMember() const { return m_uint8ArrayMember; }
void setUint8ArrayMember(PassRefPtr<DOMUint8Array> value) { m_uint8ArrayMember = value; }
+ bool hasUnrestrictedDoubleMember() const { return !m_unrestrictedDoubleMember.isNull(); }
+ double unrestrictedDoubleMember() const { return m_unrestrictedDoubleMember.get(); }
+ void setUnrestrictedDoubleMember(double value) { m_unrestrictedDoubleMember = value; }
+
virtual void trace(Visitor*);
private:
@@ -154,6 +158,7 @@ private:
RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> m_testInterfaceWillBeGarbageCollectedMember;
RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> m_testInterfaceWillBeGarbageCollectedOrNullMember;
RefPtr<DOMUint8Array> m_uint8ArrayMember;
+ Nullable<double> m_unrestrictedDoubleMember;
friend class V8TestDictionary;
};

Powered by Google App Engine
This is Rietveld 408576698