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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.cc

Issue 603873002: WebTestProxy should animate the page popup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc
index 7a3f71bdbf36c75b715acc62de053423b66b8795..1be624096bd70e6fc57b8fb6abecc8afc8a5c706 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.cc
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc
@@ -689,6 +689,10 @@ void WebTestProxyBase::AnimateNow() {
animate_scheduled_ = false;
web_widget_->animate(0.0);
web_widget_->layout();
+ if (blink::WebPagePopup* popup = web_widget_->pagePopup()) {
+ popup->animate(0.0);
+ popup->layout();
+ }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698