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

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

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove stray file Created 5 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 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 [RaisesException, TypeChecking=Interface] boolean isValidContentSelect(Eleme nt contentElement); 56 [RaisesException, TypeChecking=Interface] boolean isValidContentSelect(Eleme nt contentElement);
57 [TypeChecking=Interface] Node treeScopeRootNode(Node node); 57 [TypeChecking=Interface] Node treeScopeRootNode(Node node);
58 [TypeChecking=Interface] Node parentTreeScope(Node node); 58 [TypeChecking=Interface] Node parentTreeScope(Node node);
59 [RaisesException, TypeChecking=Interface] boolean hasSelectorForIdInShadow(E lement host, DOMString id); 59 [RaisesException, TypeChecking=Interface] boolean hasSelectorForIdInShadow(E lement host, DOMString id);
60 [RaisesException, TypeChecking=Interface] boolean hasSelectorForClassInShado w(Element host, DOMString className); 60 [RaisesException, TypeChecking=Interface] boolean hasSelectorForClassInShado w(Element host, DOMString className);
61 [RaisesException, TypeChecking=Interface] boolean hasSelectorForAttributeInS hadow(Element host, DOMString attributeName); 61 [RaisesException, TypeChecking=Interface] boolean hasSelectorForAttributeInS hadow(Element host, DOMString attributeName);
62 [RaisesException, TypeChecking=Interface] unsigned short compareTreeScopePos ition(Node treeScope1, Node treeScope2); 62 [RaisesException, TypeChecking=Interface] unsigned short compareTreeScopePos ition(Node treeScope1, Node treeScope2);
63 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); 63 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount();
64 [RaisesException] unsigned long needsLayoutCount(); 64 [RaisesException] unsigned long needsLayoutCount();
65 [RaisesException] unsigned long hitTestCount(Document document); 65 [RaisesException] unsigned long hitTestCount(Document document);
66 [RaisesException] unsigned long hitTestCacheHits(Document document);
67 [RaisesException] Element? elementFromPointNoCache(Document document, double x, double y);
68 [RaisesException] void clearHitTestCache(Document document);
66 69
67 // CSS Animation and Transition testing. 70 // CSS Animation and Transition testing.
68 [RaisesException] void pauseAnimations(double pauseTime); 71 [RaisesException] void pauseAnimations(double pauseTime);
69 72
70 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame time 73 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame time
71 // for testing whether animated images work properly. 74 // for testing whether animated images work properly.
72 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn Seconds); 75 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn Seconds);
73 76
74 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod e node); 77 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod e node);
75 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node node); 78 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node node);
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 316
314 boolean isUseCounted(Document document, long useCounterId); 317 boolean isUseCounted(Document document, long useCounterId);
315 318
316 iterable<long>; 319 iterable<long>;
317 320
318 [Unscopeable] readonly attribute DOMString unscopeableAttribute; 321 [Unscopeable] readonly attribute DOMString unscopeableAttribute;
319 [Unscopeable] DOMString unscopeableMethod(); 322 [Unscopeable] DOMString unscopeableMethod();
320 323
321 ClientRectList focusRingRects(Element element); 324 ClientRectList focusRingRects(Element element);
322 }; 325 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698