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

Side by Side Diff: third_party/WebKit/Source/core/timing/Performance.idl

Issue 2952413002: Remove out of spec FrameTiming members from Performance.idl (Closed)
Patch Set: More Created 3 years, 5 months 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 unified diff | Download patch
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 [SameObject, Measure] readonly attribute PerformanceNavigation navigation; 57 [SameObject, Measure] readonly attribute PerformanceNavigation navigation;
58 58
59 // User Timing 59 // User Timing
60 // https://w3c.github.io/user-timing/#extensions-performance-interface 60 // https://w3c.github.io/user-timing/#extensions-performance-interface
61 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me); 61 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me);
62 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null); 62 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null);
63 63
64 [MeasureAs=UnprefixedUserTiming, RaisesException] void measure(DOMString mea sureName, optional DOMString startMark = null, optional DOMString endMark = null ); 64 [MeasureAs=UnprefixedUserTiming, RaisesException] void measure(DOMString mea sureName, optional DOMString startMark = null, optional DOMString endMark = null );
65 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null); 65 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null);
66 66
67 // Frame Timing
68 // https://w3c.github.io/frame-timing/#extensions-performance-interface
69 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c learFrameTimings();
70 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s etFrameTimingBufferSize(unsigned long maxSize);
71 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull;
72
73 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev: 67 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev:
74 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ z71NmPwJ 68 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ z71NmPwJ
75 [Measure] readonly attribute MemoryInfo memory; 69 [Measure] readonly attribute MemoryInfo memory;
76 70
77 serializer = {attribute}; 71 serializer = {attribute};
78 }; 72 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTypeNames.json5 ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698