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

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

Issue 1428383002: Make ResourceFetcher::m_documentResources use WeakPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODOs Created 5 years 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64; 184 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64;
185 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags); 185 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags);
186 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags); 186 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags);
187 187
188 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2); 188 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2);
189 189
190 DOMString scrollingStateTreeAsText(Document document); 190 DOMString scrollingStateTreeAsText(Document document);
191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document);
192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document);
193 193
194 void garbageCollectDocumentResources(Document document);
195 void evictAllResources(); 194 void evictAllResources();
196 195
197 unsigned long numberOfLiveNodes(); 196 unsigned long numberOfLiveNodes();
198 unsigned long numberOfLiveDocuments(); 197 unsigned long numberOfLiveDocuments();
199 DOMString dumpRefCountedInstanceCounts(); 198 DOMString dumpRefCountedInstanceCounts();
200 sequence<DOMString> consoleMessageArgumentCounts(Document document); 199 sequence<DOMString> consoleMessageArgumentCounts(Document document);
201 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne d long maxDeadBytes, unsigned long totalBytes); 200 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne d long maxDeadBytes, unsigned long totalBytes);
202 201
203 DOMString counterValue(Element element); 202 DOMString counterValue(Element element);
204 long pageNumber(Element element, optional float pageWidth, optional float pa geHeight); 203 long pageNumber(Element element, optional float pageWidth, optional float pa geHeight);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 351 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
353 352
354 void forceRestrictIFramePermissions(); 353 void forceRestrictIFramePermissions();
355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
356 355
357 void setMediaElementNetworkState(HTMLMediaElement element, long state); 356 void setMediaElementNetworkState(HTMLMediaElement element, long state);
358 357
359 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 358 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
361 }; 360 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698