| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://github.com/RByers/EventListenerOptions | 5 // https://github.com/RByers/EventListenerOptions |
| 6 | 6 |
| 7 dictionary EventListenerOptions { | 7 dictionary EventListenerOptions { |
| 8 // TODO: |capture| is runtime enabled and its value actually | 8 // TODO: |capture| is runtime enabled and its value actually |
| 9 // changes whether the feature is enabled or not. Setting | 9 // changes whether the feature is enabled or not. Setting |
| 10 // it to a default value here prevents the ability of checking | 10 // it to a default value here prevents the ability of checking |
| 11 // whether it was set manually or by default. See EventTarget.cpp | 11 // whether it was set manually or by default. See EventTarget.cpp |
| 12 // where it is populated. crbug.com/543685 | 12 // where it is populated. crbug.com/543685 |
| 13 [RuntimeEnabled=EventListenerOptions] boolean capture; | 13 [RuntimeEnabled=EventListenerOptions] boolean capture; |
| 14 [RuntimeEnabled=PassiveEventListeners] boolean passive; |
| 14 }; | 15 }; |
| OLD | NEW |