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

Unified Diff: Source/web/WebDocument.cpp

Issue 715653004: Navigation transitions (web to native app): Hide/Show transition elements (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add helper function Created 6 years, 1 month 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/testing/Internals.idl ('k') | public/web/WebDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index 9c251ea465a13790de4831de7dabccd4c2e4663d..9827819fc4c8b222ad9441a60d312145fb1c05dd 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -296,6 +296,18 @@ void WebDocument::beginExitTransition(const WebString& cssSelector)
document->styleEngine()->enableExitTransitionStylesheets();
}
+void WebDocument::hideTransitionElements(const WebString& cssSelector)
+{
+ RefPtrWillBeRawPtr<Document> document = unwrap<Document>();
+ document->hideTransitionElements(cssSelector);
+}
+
+void WebDocument::showTransitionElements(const WebString& cssSelector)
+{
+ RefPtrWillBeRawPtr<Document> document = unwrap<Document>();
+ document->hideTransitionElements(cssSelector);
shatch 2014/11/13 14:38:34 Should this be showTransitionElements?
Zhen Wang 2014/11/13 15:42:49 Oh, right. I will fix this. Is there a way to test
Zhen Wang 2014/11/13 21:55:10 As a note, this is fixed in https://codereview.chr
+}
+
WebAXObject WebDocument::accessibilityObject() const
{
const Document* document = constUnwrap<Document>();
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | public/web/WebDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698