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

Unified Diff: third_party/WebKit/Source/bindings/scripts/idl_types.py

Issue 1380503002: binding: Makes Window/Location's attributes accessor-type properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated a test result. Created 4 years, 8 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/bindings/scripts/idl_types.py
diff --git a/third_party/WebKit/Source/bindings/scripts/idl_types.py b/third_party/WebKit/Source/bindings/scripts/idl_types.py
index 67edb06898dc0a5456856db49e41b9cc36be6a3a..dcd6f92bf250ef15560c59b1cbdece54a8b1b38f 100644
--- a/third_party/WebKit/Source/bindings/scripts/idl_types.py
+++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py
@@ -201,6 +201,10 @@ class IdlType(IdlTypeBase):
return self.base_type in NUMERIC_TYPES
@property
+ def is_boolean_type(self):
+ return self.base_type == 'boolean'
+
+ @property
def is_primitive_type(self):
return self.base_type in PRIMITIVE_TYPES

Powered by Google App Engine
This is Rietveld 408576698