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

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

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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 String layerTreeAsText(Document*, ExceptionState&) const; 229 String layerTreeAsText(Document*, ExceptionState&) const;
230 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st; 230 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st;
231 String elementLayerTreeAsText(Element*, ExceptionState&) const; 231 String elementLayerTreeAsText(Element*, ExceptionState&) const;
232 232
233 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); 233 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
234 234
235 String scrollingStateTreeAsText(Document*) const; 235 String scrollingStateTreeAsText(Document*) const;
236 String mainThreadScrollingReasons(Document*, ExceptionState&) const; 236 String mainThreadScrollingReasons(Document*, ExceptionState&) const;
237 ClientRectList* nonFastScrollableRects(Document*, ExceptionState&) const; 237 ClientRectList* nonFastScrollableRects(Document*, ExceptionState&) const;
238 238
239 void garbageCollectDocumentResources(Document*) const;
240 void evictAllResources() const; 239 void evictAllResources() const;
241 240
242 unsigned numberOfLiveNodes() const; 241 unsigned numberOfLiveNodes() const;
243 unsigned numberOfLiveDocuments() const; 242 unsigned numberOfLiveDocuments() const;
244 String dumpRefCountedInstanceCounts() const; 243 String dumpRefCountedInstanceCounts() const;
245 Vector<String> consoleMessageArgumentCounts(Document*) const; 244 Vector<String> consoleMessageArgumentCounts(Document*) const;
246 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url); 245 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url);
247 void closeDummyInspectorFrontend(); 246 void closeDummyInspectorFrontend();
248 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes); 247 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes);
249 248
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 406
408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 407 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
409 Member<InternalRuntimeFlags> m_runtimeFlags; 408 Member<InternalRuntimeFlags> m_runtimeFlags;
410 409
411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 410 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
412 }; 411 };
413 412
414 } // namespace blink 413 } // namespace blink
415 414
416 #endif // Internals_h 415 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698