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

Unified Diff: Source/modules/performance/WorkerPerformance.idl

Issue 16434011: Support performance.now() in workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/performance/WorkerPerformance.idl
diff --git a/Source/core/html/ime/Composition.idl b/Source/modules/performance/WorkerPerformance.idl
similarity index 90%
copy from Source/core/html/ime/Composition.idl
copy to Source/modules/performance/WorkerPerformance.idl
index 43ead5c727fda3628536e1126aa47daf128c711d..c4ab7fdbef7c594968d30eb05b81421a3d047f52 100644
--- a/Source/core/html/ime/Composition.idl
+++ b/Source/modules/performance/WorkerPerformance.idl
@@ -28,10 +28,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.w3.org/TR/ime-api/
[
NoInterfaceObject
-] interface Composition {
- readonly attribute Node text;
- readonly attribute Range caret;
+] interface WorkerPerformance {
+ // See https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime2/Overview.html for details.
+ double now();
};
+

Powered by Google App Engine
This is Rietveld 408576698