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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1656823002: Add layout tests for ServiceWorker's notificationclose event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored data reflection tests + nits Created 4 years, 11 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: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index b72f9813b43227972f318f95dadd3acc9d7707dd..1f6b85598893b3a87f2fc6634b81e0c3d7dccf36 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -517,6 +517,12 @@ void BlinkTestRunner::SimulateWebNotificationClick(const std::string& title,
action_index));
}
+void BlinkTestRunner::SimulateWebNotificationClose(const std::string& title,
+ bool by_user) {
+ Send(new LayoutTestHostMsg_SimulateWebNotificationClose(routing_id(), title,
+ by_user));
+}
+
void BlinkTestRunner::SetDeviceScaleFactor(float factor) {
content::SetDeviceScaleFactor(render_view(), factor);
}

Powered by Google App Engine
This is Rietveld 408576698