Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
| index 3ff751863e57e9a88c1dd0786d697e56fc1dcb41..5606da5cc3cfd4b975e67fc8a9b76625fc14e9d7 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
| @@ -290,6 +290,15 @@ WebInspector.TextFilterUI.prototype = { |
| }, |
| /** |
| + * @param {boolean} checked |
| + */ |
| + setRegexChecked: function(checked) |
| + { |
| + if (this._supportRegex) |
| + this._regexCheckBox.checked = checked; |
| + }, |
| + |
| + /** |
| * @return {?RegExp} |
| */ |
| regex: function() |
| @@ -513,6 +522,11 @@ WebInspector.NamedBitSetFilterUI.Item; |
| WebInspector.NamedBitSetFilterUI.ALL_TYPES = "all"; |
| WebInspector.NamedBitSetFilterUI.prototype = { |
| + reset: function() |
| + { |
| + this._toggleTypeFilter(WebInspector.NamedBitSetFilterUI.ALL_TYPES, false); |
|
lushnikov
2016/05/24 22:50:36
nit: a comment to name literal would help
... fal
allada
2016/05/26 21:33:07
Done.
|
| + }, |
| + |
| /** |
| * @override |
| * @return {boolean} |
| @@ -736,6 +750,14 @@ WebInspector.CheckboxFilterUI.prototype = { |
| }, |
| /** |
| + * @param {boolean} checked |
| + */ |
| + setChecked: function(checked) |
| + { |
| + this._checkboxElement.checked = checked; |
| + }, |
| + |
| + /** |
| * @override |
| * @return {!Element} |
| */ |