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

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: Rebase 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
« no previous file with comments | « Source/core/svg/SVGSVGElement.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index cbe188229e6f231f3d5d9fecf61f1c96a60b61b7..4973ac0cc4fa40c9f467f9ab0d859803a027ff4c 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -32,7 +32,6 @@
#include "bindings/v8/ScriptValue.h"
#include "core/css/CSSComputedStyleDeclaration.h"
#include "core/dom/ContextLifecycleObserver.h"
-#include "core/dom/NodeList.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "platform/heap/Handle.h"
#include "wtf/ArrayBuffer.h"
@@ -65,6 +64,7 @@ class Page;
class PagePopupController;
class Range;
class SerializedScriptValue;
+class StaticNodeList;
class ShadowRoot;
class TypeConversions;
@@ -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&);
« no previous file with comments | « Source/core/svg/SVGSVGElement.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698