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

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

Issue 315443002: Compute minimum repaint and show them in overlay (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order: 227 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order:
228 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. 228 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints.
229 [RaisesException] void startTrackingRepaints(Document document); 229 [RaisesException] void startTrackingRepaints(Document document);
230 [RaisesException] void stopTrackingRepaints(Document document); 230 [RaisesException] void stopTrackingRepaints(Document document);
231 231
232 // |node| should be Document, HTMLIFrameElement, or unspecified. 232 // |node| should be Document, HTMLIFrameElement, or unspecified.
233 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is 233 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is
234 // specified without security checks. Unspecified means this document. 234 // specified without security checks. Unspecified means this document.
235 [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutT asks(optional Node node); 235 [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutT asks(optional Node node);
236 236
237 [RaisesException] void forceFullRepaint(Document document);
238
237 // Returns a list of draggable/non-draggable regions in the document. 239 // Returns a list of draggable/non-draggable regions in the document.
238 [RaisesException] ClientRectList draggableRegions(Document document); 240 [RaisesException] ClientRectList draggableRegions(Document document);
239 [RaisesException] ClientRectList nonDraggableRegions(Document document); 241 [RaisesException] ClientRectList nonDraggableRegions(Document document);
240 242
241 // Returns a string with information about the mouse cursor used at the spec ified client location. 243 // Returns a string with information about the mouse cursor used at the spec ified client location.
242 [RaisesException] DOMString getCurrentCursorInfo(Document document); 244 [RaisesException] DOMString getCurrentCursorInfo(Document document);
243 245
244 [RaisesException] DOMString markerTextForListItem(Element element); 246 [RaisesException] DOMString markerTextForListItem(Element element);
245 247
246 [RaisesException] DOMString baseURL(Document document); 248 [RaisesException] DOMString baseURL(Document document);
(...skipping 26 matching lines...) Expand all
273 275
274 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 276 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
275 277
276 void setFocused(boolean focused); 278 void setFocused(boolean focused);
277 279
278 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 280 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
279 // before calling setNetworkConnectionInfo. 281 // before calling setNetworkConnectionInfo.
280 void setNetworkStateNotifierTestOnly(boolean testOnly); 282 void setNetworkStateNotifierTestOnly(boolean testOnly);
281 [RaisesException] void setNetworkConnectionInfo(DOMString type); 283 [RaisesException] void setNetworkConnectionInfo(DOMString type);
282 }; 284 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698