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

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

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 bool isPreloaded(const String& url); 76 bool isPreloaded(const String& url);
77 bool isLoadingFromMemoryCache(const String& url); 77 bool isLoadingFromMemoryCache(const String& url);
78 78
79 void crash(); 79 void crash();
80 80
81 size_t numberOfScopedHTMLStyleChildren(const Node*, ExceptionCode&) const; 81 size_t numberOfScopedHTMLStyleChildren(const Node*, ExceptionCode&) const;
82 PassRefPtr<CSSComputedStyleDeclaration> computedStyleIncludingVisitedInfo(No de*, ExceptionCode&) const; 82 PassRefPtr<CSSComputedStyleDeclaration> computedStyleIncludingVisitedInfo(No de*, ExceptionCode&) const;
83 83
84 ShadowRoot* ensureShadowRoot(Element* host, ExceptionCode&); 84 ShadowRoot* ensureShadowRoot(Element* host, ExceptionCode&);
85 ShadowRoot* createShadowRoot(Element* host, ExceptionCode&);
86 ShadowRoot* shadowRoot(Element* host, ExceptionCode&); 85 ShadowRoot* shadowRoot(Element* host, ExceptionCode&);
87 ShadowRoot* youngestShadowRoot(Element* host, ExceptionCode&); 86 ShadowRoot* youngestShadowRoot(Element* host, ExceptionCode&);
88 ShadowRoot* oldestShadowRoot(Element* host, ExceptionCode&); 87 ShadowRoot* oldestShadowRoot(Element* host, ExceptionCode&);
89 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionCode&); 88 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionCode&);
90 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionCode&); 89 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionCode&);
91 String shadowRootType(const Node*, ExceptionCode&) const; 90 String shadowRootType(const Node*, ExceptionCode&) const;
92 bool hasShadowInsertionPoint(const Node*, ExceptionCode&) const; 91 bool hasShadowInsertionPoint(const Node*, ExceptionCode&) const;
93 bool hasContentElement(const Node*, ExceptionCode&) const; 92 bool hasContentElement(const Node*, ExceptionCode&) const;
94 size_t countElementShadow(const Node*, ExceptionCode&) const; 93 size_t countElementShadow(const Node*, ExceptionCode&) const;
95 Element* includerFor(Node*, ExceptionCode&); 94 Element* includerFor(Node*, ExceptionCode&);
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 Vector<String> iconURLs(Document*, int iconTypesMask) const; 299 Vector<String> iconURLs(Document*, int iconTypesMask) const;
301 300
302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 301 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
303 RefPtr<DOMWindow> m_frontendWindow; 302 RefPtr<DOMWindow> m_frontendWindow;
304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 303 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
305 }; 304 };
306 305
307 } // namespace WebCore 306 } // namespace WebCore
308 307
309 #endif 308 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698