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

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

Issue 662603002: [DevTools] Adjust svg elements highlight to the root FrameView origin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 6 years, 2 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
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void evictAllResources() const; 228 void evictAllResources() const;
229 229
230 unsigned numberOfLiveNodes() const; 230 unsigned numberOfLiveNodes() const;
231 unsigned numberOfLiveDocuments() const; 231 unsigned numberOfLiveDocuments() const;
232 String dumpRefCountedInstanceCounts() const; 232 String dumpRefCountedInstanceCounts() const;
233 Vector<String> consoleMessageArgumentCounts(Document*) const; 233 Vector<String> consoleMessageArgumentCounts(Document*) const;
234 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url); 234 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url);
235 void closeDummyInspectorFrontend(); 235 void closeDummyInspectorFrontend();
236 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes); 236 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes);
237 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&); 237 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&);
238 String inspectorHighlightJSON(Node*, ExceptionState&);
238 239
239 String counterValue(Element*); 240 String counterValue(Element*);
240 241
241 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); 242 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600);
242 Vector<String> shortcutIconURLs(Document*) const; 243 Vector<String> shortcutIconURLs(Document*) const;
243 Vector<String> allIconURLs(Document*) const; 244 Vector<String> allIconURLs(Document*) const;
244 245
245 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600); 246 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600);
246 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons t; 247 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons t;
247 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION) const; 248 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION) const;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 341 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
341 342
342 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 343 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
343 Member<InternalRuntimeFlags> m_runtimeFlags; 344 Member<InternalRuntimeFlags> m_runtimeFlags;
344 Member<InternalProfilers> m_profilers; 345 Member<InternalProfilers> m_profilers;
345 }; 346 };
346 347
347 } // namespace blink 348 } // namespace blink
348 349
349 #endif // Internals_h 350 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698