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

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

Issue 2678143003: Move CSS animations use counters to UseCounter (Closed)
Patch Set: Replace FIXME with test expectation file Created 3 years, 10 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) 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 void setVisualViewportOffset(long x, long y); 327 void setVisualViewportOffset(long x, long y);
328 int visualViewportHeight(); 328 int visualViewportHeight();
329 int visualViewportWidth(); 329 int visualViewportWidth();
330 double visualViewportScrollX(); 330 double visualViewportScrollX();
331 double visualViewportScrollY(); 331 double visualViewportScrollY();
332 332
333 bool magnifyScaleAroundAnchor(float offset, float x, float y); 333 bool magnifyScaleAroundAnchor(float offset, float x, float y);
334 334
335 boolean isUseCounted(Document document, unsigned long feature); 335 boolean isUseCounted(Document document, unsigned long feature);
336 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); 336 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName);
337 boolean isAnimatedCSSPropertyUseCounted(Document document, DOMString propert yName);
337 338
338 // Returns a promise that is resolved when |feature| is counted on 339 // Returns a promise that is resolved when |feature| is counted on
339 // |document|'s UseCounter. When |feature| was already counted, it's 340 // |document|'s UseCounter. When |feature| was already counted, it's
340 // immediately resolved. 341 // immediately resolved.
341 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un signed long feature); 342 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un signed long feature);
342 343
343 readonly attribute unsigned long length; 344 readonly attribute unsigned long length;
344 getter long (unsigned long index); 345 getter long (unsigned long index);
345 iterable<long>; 346 iterable<long>;
346 347
(...skipping 17 matching lines...) Expand all
364 DOMString getProgrammaticScrollAnimationState(Node node); 365 DOMString getProgrammaticScrollAnimationState(Node node);
365 366
366 ClientRect visualRect(Node node); 367 ClientRect visualRect(Node node);
367 368
368 OriginTrialsTest originTrialsTest(); 369 OriginTrialsTest originTrialsTest();
369 370
370 void crash(); 371 void crash();
371 372
372 void setIsLowEndDevice(boolean isLowEndDevice); 373 void setIsLowEndDevice(boolean isLowEndDevice);
373 }; 374 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698