| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // Frame Timing | 72 // Frame Timing |
| 73 // https://w3c.github.io/frame-timing/#extensions-performance-interface | 73 // https://w3c.github.io/frame-timing/#extensions-performance-interface |
| 74 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c
learFrameTimings(); | 74 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c
learFrameTimings(); |
| 75 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s
etFrameTimingBufferSize(unsigned long maxSize); | 75 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s
etFrameTimingBufferSize(unsigned long maxSize); |
| 76 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff
erfull; | 76 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff
erfull; |
| 77 | 77 |
| 78 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev: | 78 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev: |
| 79 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ
z71NmPwJ | 79 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ
z71NmPwJ |
| 80 [Measure] readonly attribute MemoryInfo memory; | 80 [Measure] readonly attribute MemoryInfo memory; |
| 81 |
| 82 serializer = {attribute}; |
| 81 }; | 83 }; |
| OLD | NEW |