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

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

Issue 281383006: Navigation transitions: Added createStyledMarkupForNavigationTransition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added layout update 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 39ee46280ed345b1993c441f6b59f7ccb9db9e04..2b696b2aad467a238145d7e5001088df9bf074bb 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -2363,4 +2363,17 @@ unsigned Internals::countHitRegions(CanvasRenderingContext2D* context)
return context->hitRegionsCount();
}
+String Internals::serializeNavigationMarkup(Document* document, ExceptionState& exceptionState)
+{
+ Vector<Document::TransitionElementData> elementData;
+ frame()->document()->getTransitionElementData(elementData, exceptionState);
+
+ String markup;
esprehn 2014/07/17 19:10:43 StringBuilder?
oystein (OOO til 10th of July) 2014/07/17 21:15:06 Done.
+ Vector<Document::TransitionElementData>::iterator iter = elementData.begin();
+ for (; iter != elementData.end(); ++iter)
+ markup = markup + iter->markup;
+
+ return markup;
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698