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: Fix git cl format mangling 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);
66 68
67 // CSS Animation and Transition testing. 69 // CSS Animation and Transition testing.
68 [RaisesException] void pauseAnimations(double pauseTime); 70 [RaisesException] void pauseAnimations(double pauseTime);
69 71
70 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod e node); 72 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod e node);
71 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node node); 73 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node node);
72 [RaisesException, TypeChecking=Interface] Node lastChildInComposedTree(Node node); 74 [RaisesException, TypeChecking=Interface] Node lastChildInComposedTree(Node node);
73 [RaisesException, TypeChecking=Interface] Node nextInComposedTree(Node node) ; 75 [RaisesException, TypeChecking=Interface] Node nextInComposedTree(Node node) ;
74 [RaisesException, TypeChecking=Interface] Node previousInComposedTree(Node n ode); 76 [RaisesException, TypeChecking=Interface] Node previousInComposedTree(Node n ode);
75 77
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 309
308 boolean isUseCounted(Document document, long useCounterId); 310 boolean isUseCounted(Document document, long useCounterId);
309 311
310 iterable<long>; 312 iterable<long>;
311 313
312 [Unscopeable] readonly attribute DOMString unscopeableAttribute; 314 [Unscopeable] readonly attribute DOMString unscopeableAttribute;
313 [Unscopeable] DOMString unscopeableMethod(); 315 [Unscopeable] DOMString unscopeableMethod();
314 316
315 ClientRectList focusRingRects(Element element); 317 ClientRectList focusRingRects(Element element);
316 }; 318 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698