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

Unified Diff: Source/core/dom/Node.h

Issue 1313283002: Re-introduce printers for Node, Position, PositionAnchorType in GTest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T14:32:13 Add comments for printers which are only for testing Created 5 years, 4 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/core.gypi ('k') | Source/core/editing/EditingTestBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 7a9d06632f33b7ac2fcd757c22fad242af1655c3..dc0b0f822e42ab36d19932514ce099a62915f44f 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -897,6 +897,11 @@ PassRefPtrWillBeRawPtr<T> T::create(Document& document) \
return adoptRefWillBeNoop(new T(document)); \
}
+// These printers are available only for testing in "webkit_unit_tests", and
+// implemented in "core/testing/CoreTestPrinters.cpp".
+std::ostream& operator<<(std::ostream&, const Node&);
+std::ostream& operator<<(std::ostream&, const Node*);
+
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/editing/EditingTestBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698