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

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

Issue 317143002: Revert of Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/testing/InternalSettings.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool isLoadingFromMemoryCache(const String& url); 85 bool isLoadingFromMemoryCache(const String& url);
86 86
87 void crash(); 87 void crash();
88 88
89 void setStyleResolverStatsEnabled(bool); 89 void setStyleResolverStatsEnabled(bool);
90 String styleResolverStatsReport(ExceptionState&) const; 90 String styleResolverStatsReport(ExceptionState&) const;
91 String styleResolverStatsTotalsReport(ExceptionState&) const; 91 String styleResolverStatsTotalsReport(ExceptionState&) const;
92 92
93 bool isSharingStyle(Element*, Element*, ExceptionState&) const; 93 bool isSharingStyle(Element*, Element*, ExceptionState&) const;
94 94
95 size_t numberOfScopedHTMLStyleChildren(const Node*, ExceptionState&) const;
95 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleIncludingVi sitedInfo(Node*, ExceptionState&) const; 96 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleIncludingVi sitedInfo(Node*, ExceptionState&) const;
96 97
97 ShadowRoot* shadowRoot(Element* host, ExceptionState&); 98 ShadowRoot* shadowRoot(Element* host, ExceptionState&);
98 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&); 99 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&);
99 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&); 100 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&);
100 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); 101 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
101 String shadowRootType(const Node*, ExceptionState&) const; 102 String shadowRootType(const Node*, ExceptionState&) const;
102 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; 103 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const;
103 bool hasContentElement(const Node*, ExceptionState&) const; 104 bool hasContentElement(const Node*, ExceptionState&) const;
104 size_t countElementShadow(const Node*, ExceptionState&) const; 105 size_t countElementShadow(const Node*, ExceptionState&) const;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 331 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
331 332
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 333 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 334 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
334 RefPtrWillBeMember<InternalProfilers> m_profilers; 335 RefPtrWillBeMember<InternalProfilers> m_profilers;
335 }; 336 };
336 337
337 } // namespace WebCore 338 } // namespace WebCore
338 339
339 #endif 340 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/InternalSettings.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698