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

Unified Diff: Source/core/testing/Internals.idl

Issue 1324763002: Paint invalidation tests for slimming paint v2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index 4b24aaf839bd080d0210ac3cb87fc1da0434dab6..62cb8a739d15ab051bfcb348d5037c090f61aa58 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -232,6 +232,7 @@
// These functions both reset the tracked repaint rects. They are inteded to be used in the following order:
// startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints.
+ // TODO(wangxianzhu): Remove these functions when we no longer use repaint rects.
[RaisesException, TypeChecking=Interface] void startTrackingRepaints(Document document);
[RaisesException, TypeChecking=Interface] void stopTrackingRepaints(Document document);
@@ -242,6 +243,16 @@
[RaisesException, TypeChecking=Interface] void forceFullRepaint(Document document);
+ // These functions both reset the tracked paint invalidation objects. They are inteded to be used in the following order:
chrishtr 2015/08/31 23:07:06 s/inteded/intended/
Xianzhu 2015/08/31 23:17:56 Done.
+ // startTrackingPaintInvalidationObjects, trackedPaintInvalidationObjects, stopTrackingPaintInvalidationObjects.
+ void startTrackingPaintInvalidationObjects();
+ void stopTrackingPaintInvalidationObjects();
+
+ // Returns a list of debug strings for objects that were invalidated between
+ // startTrackingPaintInvalidationObjects and stopTrackingPaintInvalidationObjects.
chrishtr 2015/08/31 23:07:06 Add parens at the end of the funciton names to mak
Xianzhu 2015/08/31 23:17:56 Done.
+ // If an object is invalidated multiple times, it will appear in the list multiple times.
+ DOMString[] trackedPaintInvalidationObjects();
+
// Returns a list of draggable/non-draggable regions in the document.
[RaisesException, TypeChecking=Interface] ClientRectList draggableRegions(Document document);
[RaisesException, TypeChecking=Interface] ClientRectList nonDraggableRegions(Document document);
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698