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

Unified Diff: Source/bindings/tests/results/modules/UnionTypesModules.h

Issue 937773002: IDL: Support default values for dictionary members of union types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/modules/UnionTypesModules.h
diff --git a/Source/bindings/tests/results/modules/UnionTypesModules.h b/Source/bindings/tests/results/modules/UnionTypesModules.h
index f2fb98bf86ff35c4be67bbe949578f3cbe6426ad..84116568ebe48f18e012d0245d803118fa92fba0 100644
--- a/Source/bindings/tests/results/modules/UnionTypesModules.h
+++ b/Source/bindings/tests/results/modules/UnionTypesModules.h
@@ -25,10 +25,12 @@ public:
bool isBoolean() const { return m_type == SpecificTypeBoolean; }
bool getAsBoolean() const;
void setBoolean(bool);
+ static BooleanOrString fromBoolean(bool);
bool isString() const { return m_type == SpecificTypeString; }
String getAsString() const;
void setString(String);
+ static BooleanOrString fromString(String);
private:
enum SpecificTypes {

Powered by Google App Engine
This is Rietveld 408576698