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

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

Issue 2619823003: Remove prefixed Resource Timing buffer management API (Closed)
Patch Set: Created 3 years, 11 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntries(); 44 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntries();
45 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntriesByT ype(DOMString entryType); 45 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntriesByT ype(DOMString entryType);
46 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntriesByN ame(DOMString name, optional DOMString entryType = null); 46 [MeasureAs=UnprefixedPerformanceTimeline] PerformanceEntryList getEntriesByN ame(DOMString name, optional DOMString entryType = null);
47 47
48 // Resource Timing 48 // Resource Timing
49 // https://w3c.github.io/resource-timing/#extensions-performance-interface 49 // https://w3c.github.io/resource-timing/#extensions-performance-interface
50 void clearResourceTimings(); 50 void clearResourceTimings();
51 void setResourceTimingBufferSize(unsigned long maxSize); 51 void setResourceTimingBufferSize(unsigned long maxSize);
52 attribute EventHandler onresourcetimingbufferfull; 52 attribute EventHandler onresourcetimingbufferfull;
53 53
54 // TODO(ksakamoto): Remove these prefixed APIs.
55 [DeprecateAs=PrefixedPerformanceClearResourceTimings, ImplementedAs=clearRes ourceTimings] void webkitClearResourceTimings();
56 [DeprecateAs=PrefixedPerformanceSetResourceTimingBufferSize, ImplementedAs=s etResourceTimingBufferSize] void webkitSetResourceTimingBufferSize(unsigned long maxSize);
57 [DeprecateAs=PrefixedPerformanceResourceTimingBufferFull] attribute EventHan dler onwebkitresourcetimingbufferfull;
58
59 // Navigation Timing 54 // Navigation Timing
60 // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-in terface 55 // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-in terface
61 [SameObject, Measure] readonly attribute PerformanceTiming timing; 56 [SameObject, Measure] readonly attribute PerformanceTiming timing;
62 [SameObject, Measure] readonly attribute PerformanceNavigation navigation; 57 [SameObject, Measure] readonly attribute PerformanceNavigation navigation;
63 58
64 // User Timing 59 // User Timing
65 // https://w3c.github.io/user-timing/#extensions-performance-interface 60 // https://w3c.github.io/user-timing/#extensions-performance-interface
66 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me); 61 [MeasureAs=UnprefixedUserTiming, RaisesException] void mark(DOMString markNa me);
67 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null); 62 [MeasureAs=UnprefixedUserTiming] void clearMarks(optional DOMString markName = null);
68 63
69 [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 );
70 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null); 65 [MeasureAs=UnprefixedUserTiming] void clearMeasures(optional DOMString measu reName = null);
71 66
72 // Frame Timing 67 // Frame Timing
73 // https://w3c.github.io/frame-timing/#extensions-performance-interface 68 // https://w3c.github.io/frame-timing/#extensions-performance-interface
74 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c learFrameTimings(); 69 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void c learFrameTimings();
75 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s etFrameTimingBufferSize(unsigned long maxSize); 70 [RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void s etFrameTimingBufferSize(unsigned long maxSize);
76 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull; 71 [RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbuff erfull;
77 72
78 // TODO(foolip): There is no spec for the Memory Info API, see blink-dev: 73 // 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 74 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJ z71NmPwJ
80 [Measure] readonly attribute MemoryInfo memory; 75 [Measure] readonly attribute MemoryInfo memory;
81 76
82 serializer = {attribute}; 77 serializer = {attribute};
83 }; 78 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698