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

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

Issue 2573713002: [Bindings][Refactoring] Remove filters for origin trial features (Closed)
Patch Set: Refactoring Created 4 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
Index: third_party/WebKit/Source/bindings/scripts/v8_methods.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_methods.py b/third_party/WebKit/Source/bindings/scripts/v8_methods.py
index e4f1abf28609dd0391fbbb3d938ea19af866f934..2d5ae6dfaa2c5ce467cbc7e59b85d16c708b479d 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_methods.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_methods.py
@@ -86,21 +86,10 @@ def filter_method_configuration(methods, interface_is_partial):
not custom_registration(method)]
-def method_for_origin_trial_feature(methods, feature_name, interface_is_partial):
- """Filters the list of methods, and returns those defined for the named origin trial feature."""
- return [method for method in methods if
- method_is_visible(method, interface_is_partial) and
- method['should_be_exposed_to_script'] and
- method['origin_trial_feature_name'] == feature_name and
- not conditionally_exposed(method) and
- not custom_registration(method)]
-
-
def method_filters():
return {'conditionally_exposed': filter_conditionally_exposed,
'custom_registration': filter_custom_registration,
- 'has_method_configuration': filter_method_configuration,
- 'method_for_origin_trial_feature': method_for_origin_trial_feature}
+ 'has_method_configuration': filter_method_configuration}
def use_local_result(method):

Powered by Google App Engine
This is Rietveld 408576698