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

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

Issue 34623009: Revamp style resolver stats (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix stats for mac, crazy StyleResolver constructor side effects Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 String address(Node*); 79 String address(Node*);
80 80
81 PassRefPtr<GCObservation> observeGC(ScriptValue); 81 PassRefPtr<GCObservation> observeGC(ScriptValue);
82 82
83 bool isPreloaded(const String& url); 83 bool isPreloaded(const String& url);
84 bool isLoadingFromMemoryCache(const String& url); 84 bool isLoadingFromMemoryCache(const String& url);
85 85
86 void crash(); 86 void crash();
87 87
88 void setStyleResolverStatsEnabled(bool);
89 String styleResolverStatsReport(ExceptionState&) const;
90 String styleResolverStatsTotalsReport(ExceptionState&) const;
91
88 size_t numberOfScopedHTMLStyleChildren(const Node*, ExceptionState&) const; 92 size_t numberOfScopedHTMLStyleChildren(const Node*, ExceptionState&) const;
89 PassRefPtr<CSSComputedStyleDeclaration> computedStyleIncludingVisitedInfo(No de*, ExceptionState&) const; 93 PassRefPtr<CSSComputedStyleDeclaration> computedStyleIncludingVisitedInfo(No de*, ExceptionState&) const;
90 94
91 ShadowRoot* ensureShadowRoot(Element* host, ExceptionState&); 95 ShadowRoot* ensureShadowRoot(Element* host, ExceptionState&);
92 ShadowRoot* shadowRoot(Element* host, ExceptionState&); 96 ShadowRoot* shadowRoot(Element* host, ExceptionState&);
93 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&); 97 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&);
94 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&); 98 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&);
95 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); 99 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
96 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionState&); 100 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionState&);
97 String shadowRootType(const Node*, ExceptionState&) const; 101 String shadowRootType(const Node*, ExceptionState&) const;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 RefPtr<DOMWindow> m_frontendWindow; 311 RefPtr<DOMWindow> m_frontendWindow;
308 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 312 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
309 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 313 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
310 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 314 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
311 RefPtr<InternalProfilers> m_profilers; 315 RefPtr<InternalProfilers> m_profilers;
312 }; 316 };
313 317
314 } // namespace WebCore 318 } // namespace WebCore
315 319
316 #endif 320 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698