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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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] boolean hasContentElement(Node root); 53 [RaisesException] boolean hasContentElement(Node root);
54 [RaisesException] unsigned long countElementShadow(Node Root); 54 [RaisesException] unsigned long countElementShadow(Node Root);
55 DOMString shadowPseudoId(Element element); 55 DOMString shadowPseudoId(Element element);
56 [RaisesException] boolean isValidContentSelect(Element contentElement); 56 [RaisesException] boolean isValidContentSelect(Element contentElement);
57 Node treeScopeRootNode(Node node); 57 Node treeScopeRootNode(Node node);
58 Node parentTreeScope(Node node); 58 Node parentTreeScope(Node node);
59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d); 59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d);
60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className); 60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className);
61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName); 61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName);
62 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N ode treeScope2); 62 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N ode treeScope2);
63 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); 63 [RaisesException] unsigned long updateStyleAndLayoutAndReturnAffectedElement Count();
Timothy Loh 2016/05/04 01:54:58 Let's not rename the Internals functions in this p
nainar 2016/05/04 07:29:51 Removed the renames from Internals.
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); 66 [RaisesException] unsigned long hitTestCacheHits(Document document);
67 [RaisesException] Element? elementFromPoint(Document document, double x, dou ble y, boolean ignoreClipping, boolean allowChildFrameContent); 67 [RaisesException] Element? elementFromPoint(Document document, double x, dou ble y, boolean ignoreClipping, boolean allowChildFrameContent);
68 [RaisesException] void clearHitTestCache(Document document); 68 [RaisesException] void clearHitTestCache(Document document);
69 69
70 // Animation testing. 70 // Animation testing.
71 [RaisesException] void pauseAnimations(double pauseTime); 71 [RaisesException] void pauseAnimations(double pauseTime);
72 bool isCompositedAnimation(Animation animation); 72 bool isCompositedAnimation(Animation animation);
73 void disableCompositedAnimation(Animation animation); 73 void disableCompositedAnimation(Animation animation);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 // These functions both reset the tracked repaint rects. They are intended t o be used in the following order: 234 // These functions both reset the tracked repaint rects. They are intended t o be used in the following order:
235 // startTrackingRepaints(), repaintRectsAsText(), stopTrackingRepaints(). 235 // startTrackingRepaints(), repaintRectsAsText(), stopTrackingRepaints().
236 // TODO(wangxianzhu): Remove these functions when we no longer use repaint r ects. 236 // TODO(wangxianzhu): Remove these functions when we no longer use repaint r ects.
237 [RaisesException] void startTrackingRepaints(Document document); 237 [RaisesException] void startTrackingRepaints(Document document);
238 [RaisesException] void stopTrackingRepaints(Document document); 238 [RaisesException] void stopTrackingRepaints(Document document);
239 239
240 // |node| should be Document, HTMLIFrameElement, or unspecified. 240 // |node| should be Document, HTMLIFrameElement, or unspecified.
241 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is 241 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is
242 // specified without security checks. Unspecified means this document. 242 // specified without security checks. Unspecified means this document.
243 [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutT asks(optional Node? node = null); 243 [RaisesException] void updateStyleAndLayoutIgnorePendingStylesheetsAndRunPos tLayoutTasks(optional Node? node = null);
244 244
245 [RaisesException] void forceFullRepaint(Document document); 245 [RaisesException] void forceFullRepaint(Document document);
246 246
247 // These functions both reset the tracked paint invalidation objects. They a re intended to be used in the following order: 247 // These functions both reset the tracked paint invalidation objects. They a re intended to be used in the following order:
248 // startTrackingPaintInvalidationObjects(), trackedPaintInvalidationObjects (), stopTrackingPaintInvalidationObjects(). 248 // startTrackingPaintInvalidationObjects(), trackedPaintInvalidationObjects (), stopTrackingPaintInvalidationObjects().
249 void startTrackingPaintInvalidationObjects(); 249 void startTrackingPaintInvalidationObjects();
250 void stopTrackingPaintInvalidationObjects(); 250 void stopTrackingPaintInvalidationObjects();
251 251
252 // Returns a list of debug strings for objects that were invalidated between 252 // Returns a list of debug strings for objects that were invalidated between
253 // startTrackingPaintInvalidationObjects() and stopTrackingPaintInvalidation Objects(). 253 // startTrackingPaintInvalidationObjects() and stopTrackingPaintInvalidation Objects().
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 void setMediaElementNetworkState(HTMLMediaElement element, long state); 355 void setMediaElementNetworkState(HTMLMediaElement element, long state);
356 356
357 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 357 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
359 359
360 DOMString getScrollAnimationState(Node node); 360 DOMString getScrollAnimationState(Node node);
361 361
362 DOMString getProgrammaticScrollAnimationState(Node node); 362 DOMString getProgrammaticScrollAnimationState(Node node);
363 }; 363 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698