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

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

Issue 705363003: Remove internals.profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Landing Created 6 years, 1 month 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/testing/InternalProfilers.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class DictionaryTest; 50 class DictionaryTest;
51 class Document; 51 class Document;
52 class DocumentFragment; 52 class DocumentFragment;
53 class DocumentMarker; 53 class DocumentMarker;
54 class Element; 54 class Element;
55 class ExceptionState; 55 class ExceptionState;
56 class ExecutionContext; 56 class ExecutionContext;
57 class GCObservation; 57 class GCObservation;
58 class HTMLElement; 58 class HTMLElement;
59 class HTMLMediaElement; 59 class HTMLMediaElement;
60 class InternalProfilers;
61 class InternalRuntimeFlags; 60 class InternalRuntimeFlags;
62 class InternalSettings; 61 class InternalSettings;
63 class Iterator; 62 class Iterator;
64 class LayerRectList; 63 class LayerRectList;
65 class LocalDOMWindow; 64 class LocalDOMWindow;
66 class LocalFrame; 65 class LocalFrame;
67 class Node; 66 class Node;
68 class Page; 67 class Page;
69 class PagePopupController; 68 class PagePopupController;
70 class PrivateScriptTest; 69 class PrivateScriptTest;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void toggleOverwriteModeEnabled(Document*); 200 void toggleOverwriteModeEnabled(Document*);
202 201
203 unsigned numberOfScrollableAreas(Document*); 202 unsigned numberOfScrollableAreas(Document*);
204 203
205 bool isPageBoxVisible(Document*, int pageNumber); 204 bool isPageBoxVisible(Document*, int pageNumber);
206 205
207 static const char* internalsId; 206 static const char* internalsId;
208 207
209 InternalSettings* settings() const; 208 InternalSettings* settings() const;
210 InternalRuntimeFlags* runtimeFlags() const; 209 InternalRuntimeFlags* runtimeFlags() const;
211 InternalProfilers* profilers();
212 unsigned workerThreadCount() const; 210 unsigned workerThreadCount() const;
213 211
214 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&); 212 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&);
215 213
216 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const; 214 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const;
217 String layerTreeAsText(Document*, ExceptionState&) const; 215 String layerTreeAsText(Document*, ExceptionState&) const;
218 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st; 216 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st;
219 String elementLayerTreeAsText(Element*, ExceptionState&) const; 217 String elementLayerTreeAsText(Element*, ExceptionState&) const;
220 218
221 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); 219 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 334
337 private: 335 private:
338 explicit Internals(Document*); 336 explicit Internals(Document*);
339 Document* contextDocument() const; 337 Document* contextDocument() const;
340 LocalFrame* frame() const; 338 LocalFrame* frame() const;
341 Vector<String> iconURLs(Document*, int iconTypesMask) const; 339 Vector<String> iconURLs(Document*, int iconTypesMask) const;
342 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 340 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
343 341
344 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 342 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
345 Member<InternalRuntimeFlags> m_runtimeFlags; 343 Member<InternalRuntimeFlags> m_runtimeFlags;
346 Member<InternalProfilers> m_profilers;
347 }; 344 };
348 345
349 } // namespace blink 346 } // namespace blink
350 347
351 #endif // Internals_h 348 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/testing/InternalProfilers.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698