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

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

Issue 900903002: DevTools: do not use Internals for inspector highlight tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed. Created 5 years, 10 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/InspectorDOMAgent.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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void garbageCollectDocumentResources(Document*) const; 227 void garbageCollectDocumentResources(Document*) const;
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 String inspectorHighlightJSON(Node*, ExceptionState&);
238 237
239 String counterValue(Element*); 238 String counterValue(Element*);
240 239
241 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); 240 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600);
242 Vector<String> shortcutIconURLs(Document*) const; 241 Vector<String> shortcutIconURLs(Document*) const;
243 Vector<String> allIconURLs(Document*) const; 242 Vector<String> allIconURLs(Document*) const;
244 243
245 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600); 244 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600);
246 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons t; 245 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; 246 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION) const;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 351
353 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 352 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
354 Member<InternalRuntimeFlags> m_runtimeFlags; 353 Member<InternalRuntimeFlags> m_runtimeFlags;
355 354
356 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 355 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
357 }; 356 };
358 357
359 } // namespace blink 358 } // namespace blink
360 359
361 #endif // Internals_h 360 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDOMAgent.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698