Changhao Han | d245432 | 2020-08-11 13:09:35 | [diff] [blame] | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | /** |
| 6 | * WARNING: do not modify this file by hand! |
| 7 | * it was automatically generated by the bridge generator |
| 8 | * if you made changes to the source code and need to update this file, run: |
| 9 | * npm run generate-bridge-file front_end/elements/ComputedStyleProperty.ts |
| 10 | */ |
| 11 | |
| 12 | import './ComputedStyleProperty.js'; |
| 13 | /** |
| 14 | * @typedef {{ |
| 15 | * inherited:boolean, |
Changhao Han | 0a98cc5 | 2020-08-21 13:29:58 | [diff] [blame] | 16 | * traceable:boolean, |
Jack Franklin | cfd5020 | 2020-09-09 11:47:31 | [diff] [blame] | 17 | * onNavigateToSource:function(!Event=):void, |
Changhao Han | d245432 | 2020-08-11 13:09:35 | [diff] [blame] | 18 | * }} |
| 19 | */ |
| 20 | // @ts-ignore we export this for Closure not TS |
| 21 | export let ComputedStylePropertyData; |
| 22 | // eslint-disable-next-line no-unused-vars |
| 23 | export class ComputedStylePropertyClosureInterface extends HTMLElement { |
| 24 | /** |
Changhao Han | d245432 | 2020-08-11 13:09:35 | [diff] [blame] | 25 | * @param {!ComputedStylePropertyData} data |
| 26 | */ |
| 27 | set data(data) { |
| 28 | } |
| 29 | } |
| 30 | /** |
| 31 | * @return {!ComputedStylePropertyClosureInterface} |
| 32 | */ |
| 33 | export function createComputedStyleProperty() { |
| 34 | return /** @type {!ComputedStylePropertyClosureInterface} */ ( |
| 35 | document.createElement('devtools-computed-style-property')); |
| 36 | } |