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

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

Issue 211373002: Oilpan: move DOMWindow object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: setNativeInfoForInnerGlobalObject() -> setNativeInfoForHiddenWrapper() Created 6 years, 9 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
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 void garbageCollectDocumentResources(Document*, ExceptionState&) const; 238 void garbageCollectDocumentResources(Document*, ExceptionState&) const;
239 void evictAllResources() const; 239 void evictAllResources() const;
240 240
241 void allowRoundingHacks() const; 241 void allowRoundingHacks() const;
242 242
243 unsigned numberOfLiveNodes() const; 243 unsigned numberOfLiveNodes() const;
244 unsigned numberOfLiveDocuments() const; 244 unsigned numberOfLiveDocuments() const;
245 String dumpRefCountedInstanceCounts() const; 245 String dumpRefCountedInstanceCounts() const;
246 Vector<String> consoleMessageArgumentCounts(Document*) const; 246 Vector<String> consoleMessageArgumentCounts(Document*) const;
247 PassRefPtr<DOMWindow> openDummyInspectorFrontend(const String& url); 247 PassRefPtrWillBeRawPtr<DOMWindow> openDummyInspectorFrontend(const String& u rl);
248 void closeDummyInspectorFrontend(); 248 void closeDummyInspectorFrontend();
249 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes); 249 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes);
250 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&); 250 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&);
251 251
252 String counterValue(Element*); 252 String counterValue(Element*);
253 253
254 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); 254 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600);
255 Vector<String> shortcutIconURLs(Document*) const; 255 Vector<String> shortcutIconURLs(Document*) const;
256 Vector<String> allIconURLs(Document*) const; 256 Vector<String> allIconURLs(Document*) const;
257 257
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 323 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
324 324
325 private: 325 private:
326 explicit Internals(Document*); 326 explicit Internals(Document*);
327 Document* contextDocument() const; 327 Document* contextDocument() const;
328 LocalFrame* frame() const; 328 LocalFrame* frame() const;
329 Vector<String> iconURLs(Document*, int iconTypesMask) const; 329 Vector<String> iconURLs(Document*, int iconTypesMask) const;
330 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&); 330 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&);
331 331
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtr<DOMWindow> m_frontendWindow; 333 RefPtrWillBeMember<DOMWindow> m_frontendWindow;
334 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 334 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
336 RefPtrWillBeMember<InternalProfilers> m_profilers; 336 RefPtrWillBeMember<InternalProfilers> m_profilers;
337 }; 337 };
338 338
339 } // namespace WebCore 339 } // namespace WebCore
340 340
341 #endif 341 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698