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

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

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 [RaisesException] void setShadowPseudoId(Element element, DOMString id); 53 [RaisesException] void setShadowPseudoId(Element element, DOMString id);
54 [RaisesException] Element createContentElement(); 54 [RaisesException] Element createContentElement();
55 [RaisesException] boolean isValidContentSelect(Element contentElement); 55 [RaisesException] boolean isValidContentSelect(Element contentElement);
56 [RaisesException] Node treeScopeRootNode(Node node); 56 [RaisesException] Node treeScopeRootNode(Node node);
57 [RaisesException] Node parentTreeScope(Node node); 57 [RaisesException] Node parentTreeScope(Node node);
58 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d); 58 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d);
59 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className); 59 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className);
60 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName); 60 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName);
61 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO MString pseudoClass); 61 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO MString pseudoClass);
62 62
63 // CSS Animation testing. 63 // CSS Animation and Transition testing.
64 unsigned long numberOfActiveAnimations(); 64 unsigned long numberOfActiveAnimations();
65 [RaisesException] void suspendAnimations(Document document); 65 [RaisesException] void suspendAnimations(Document document);
66 [RaisesException] void resumeAnimations(Document document); 66 [RaisesException] void resumeAnimations(Document document);
67 [RaisesException] boolean pauseAnimationAtTimeOnElement(DOMString animationN ame, double pauseTime, Element element); 67 [RaisesException] void pauseAnimations(double pauseTime);
68 [RaisesException] boolean pauseAnimationAtTimeOnPseudoElement(DOMString anim ationName, double pauseTime, Element element, DOMString pseudoId);
69
70 // CSS Transition testing.
71 [RaisesException] boolean pauseTransitionAtTimeOnElement(DOMString propertyN ame, double pauseTime, Element element);
72 [RaisesException] boolean pauseTransitionAtTimeOnPseudoElement(DOMString pro perty, double pauseTime, Element element, DOMString pseudoId);
73 68
74 [RaisesException] Node nextSiblingByWalker(Node node); 69 [RaisesException] Node nextSiblingByWalker(Node node);
75 [RaisesException] Node firstChildByWalker(Node node); 70 [RaisesException] Node firstChildByWalker(Node node);
76 [RaisesException] Node lastChildByWalker(Node node); 71 [RaisesException] Node lastChildByWalker(Node node);
77 [RaisesException] Node nextNodeByWalker(Node node); 72 [RaisesException] Node nextNodeByWalker(Node node);
78 [RaisesException] Node previousNodeByWalker(Node node); 73 [RaisesException] Node previousNodeByWalker(Node node);
79 74
80 [RaisesException] boolean attached(Node node); 75 [RaisesException] boolean attached(Node node);
81 76
82 DOMString visiblePlaceholder(Element element); 77 DOMString visiblePlaceholder(Element element);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 void forceReload(boolean endToEnd); 240 void forceReload(boolean endToEnd);
246 241
247 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); 242 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM();
248 243
249 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); 244 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer();
250 245
251 [RaisesException] DOMString getImageSourceURL(Element element); 246 [RaisesException] DOMString getImageSourceURL(Element element);
252 247
253 boolean isSelectPopupVisible(Node node); 248 boolean isSelectPopupVisible(Node node);
254 }; 249 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698