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

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

Issue 370843002: Allow touch adjustment to return Shadow DOM node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add simple shadow dom test Created 6 years, 5 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 String styleResolverStatsTotalsReport(ExceptionState&) const; 92 String styleResolverStatsTotalsReport(ExceptionState&) const;
93 93
94 bool isSharingStyle(Element*, Element*, ExceptionState&) const; 94 bool isSharingStyle(Element*, Element*, ExceptionState&) const;
95 95
96 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleIncludingVi sitedInfo(Node*, ExceptionState&) const; 96 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleIncludingVi sitedInfo(Node*, ExceptionState&) const;
97 97
98 ShadowRoot* shadowRoot(Element* host, ExceptionState&); 98 ShadowRoot* shadowRoot(Element* host, ExceptionState&);
99 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&); 99 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&);
100 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&); 100 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&);
101 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); 101 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
102 Element* shadowHost(Node*, ExceptionState&);
102 String shadowRootType(const Node*, ExceptionState&) const; 103 String shadowRootType(const Node*, ExceptionState&) const;
103 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; 104 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const;
104 bool hasContentElement(const Node*, ExceptionState&) const; 105 bool hasContentElement(const Node*, ExceptionState&) const;
105 size_t countElementShadow(const Node*, ExceptionState&) const; 106 size_t countElementShadow(const Node*, ExceptionState&) const;
106 const AtomicString& shadowPseudoId(Element*, ExceptionState&); 107 const AtomicString& shadowPseudoId(Element*, ExceptionState&);
107 void setShadowPseudoId(Element*, const AtomicString&, ExceptionState&); 108 void setShadowPseudoId(Element*, const AtomicString&, ExceptionState&);
108 109
109 // CSS Animation / Transition testing. 110 // CSS Animation / Transition testing.
110 unsigned numberOfActiveAnimations() const; 111 unsigned numberOfActiveAnimations() const;
111 void pauseAnimations(double pauseTime, ExceptionState&); 112 void pauseAnimations(double pauseTime, ExceptionState&);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
329 330
330 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
331 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
332 RefPtrWillBeMember<InternalProfilers> m_profilers; 333 RefPtrWillBeMember<InternalProfilers> m_profilers;
333 }; 334 };
334 335
335 } // namespace WebCore 336 } // namespace WebCore
336 337
337 #endif 338 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698