Index: Source/web/WebDocument.cpp |
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp |
index d0b9127038483670a7d083092589b1f46f303167..1185f04552a449db5e5ab214fd363e0de8910513 100644 |
--- a/Source/web/WebDocument.cpp |
+++ b/Source/web/WebDocument.cpp |
@@ -265,6 +265,19 @@ WebElement WebDocument::createElement(const WebString& tagName) |
return element; |
} |
+void WebDocument::setIsTransitionDocument() |
+{ |
+ // This ensures the transition UA stylesheet gets applied. |
+ unwrap<Document>()->setIsTransitionDocument(); |
+} |
+ |
+void WebDocument::beginExitTransition(const WebString& cssSelector) |
+{ |
+ Document* document = unwrap<Document>(); |
abarth-chromium
2014/08/01 22:27:32
RefPtr<Document>
I don't think it matters, but th
oystein (OOO til 10th of July)
2014/08/01 22:57:06
Done.
|
+ document->hideTransitionElements(cssSelector); |
+ document->styleEngine()->enableExitTransitionStylesheets(); |
+} |
+ |
WebAXObject WebDocument::accessibilityObject() const |
{ |
const Document* document = constUnwrap<Document>(); |