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

Unified Diff: Source/core/testing/Internals.h

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index 26c7cffd1ed14e6163e7aea262112e0d215779b8..ab3aa6053578cee4694f4d24b7fe4cbc8901bcdf 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -32,7 +32,7 @@
#include "bindings/v8/ScriptValue.h"
#include "core/css/CSSComputedStyleDeclaration.h"
#include "core/dom/ContextLifecycleObserver.h"
-#include "core/dom/NodeList.h"
+#include "core/dom/StaticNodeList.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "platform/heap/Handle.h"
#include "wtf/ArrayBuffer.h"
@@ -186,7 +186,7 @@ public:
PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionState&);
// This is used to test rect based hit testing like what's done on touch screens.
- PassRefPtrWillBeRawPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadding, unsigned rightPadding,
+ PassRefPtrWillBeRawPtr<StaticNodeList> nodesFromRect(Document*, int x, int y, unsigned topPadding, unsigned rightPadding,
unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent, ExceptionState&) const;
void emitInspectorDidBeginFrame(int frameId = 0);
@@ -217,9 +217,6 @@ public:
String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) const;
String elementLayerTreeAsText(Element*, ExceptionState&) const;
- PassRefPtrWillBeRawPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionState&);
- PassRefPtrWillBeRawPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionState&);
-
bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
bool isUnclippedDescendant(Element*, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698