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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2678143003: Move CSS animations use counters to UseCounter (Closed)
Patch Set: Rebase incl FrameHost->Page change, tweak test Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 void setVisualViewportOffset(long x, long y); 328 void setVisualViewportOffset(long x, long y);
329 int visualViewportHeight(); 329 int visualViewportHeight();
330 int visualViewportWidth(); 330 int visualViewportWidth();
331 double visualViewportScrollX(); 331 double visualViewportScrollX();
332 double visualViewportScrollY(); 332 double visualViewportScrollY();
333 333
334 bool magnifyScaleAroundAnchor(float offset, float x, float y); 334 bool magnifyScaleAroundAnchor(float offset, float x, float y);
335 335
336 boolean isUseCounted(Document document, unsigned long feature); 336 boolean isUseCounted(Document document, unsigned long feature);
337 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); 337 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName);
338 boolean isAnimatedCSSPropertyUseCounted(Document document, DOMString propert yName);
338 339
339 // Returns a promise that is resolved when |feature| is counted on 340 // Returns a promise that is resolved when |feature| is counted on
340 // |document|'s UseCounter. When |feature| was already counted, it's 341 // |document|'s UseCounter. When |feature| was already counted, it's
341 // immediately resolved. 342 // immediately resolved.
342 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un signed long feature); 343 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un signed long feature);
343 344
344 readonly attribute unsigned long length; 345 readonly attribute unsigned long length;
345 getter long (unsigned long index); 346 getter long (unsigned long index);
346 iterable<long>; 347 iterable<long>;
347 348
(...skipping 17 matching lines...) Expand all
365 DOMString getProgrammaticScrollAnimationState(Node node); 366 DOMString getProgrammaticScrollAnimationState(Node node);
366 367
367 ClientRect visualRect(Node node); 368 ClientRect visualRect(Node node);
368 369
369 OriginTrialsTest originTrialsTest(); 370 OriginTrialsTest originTrialsTest();
370 371
371 void crash(); 372 void crash();
372 373
373 void setIsLowEndDevice(boolean isLowEndDevice); 374 void setIsLowEndDevice(boolean isLowEndDevice);
374 }; 375 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698