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

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

Issue 659043003: Implement the ability to layout test Web Worker-based Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/webkit_test_runner.cc
diff --git a/content/shell/renderer/layout_test/webkit_test_runner.cc b/content/shell/renderer/layout_test/webkit_test_runner.cc
index 9059d8147fe8302942126d27f48daec2663a4740..80fa28a54f18d639235701576f96e8a26ac3ce47 100644
--- a/content/shell/renderer/layout_test/webkit_test_runner.cc
+++ b/content/shell/renderer/layout_test/webkit_test_runner.cc
@@ -431,6 +431,10 @@ void WebKitTestRunner::ClearWebNotificationPermissions() {
Send(new ShellViewHostMsg_ClearWebNotificationPermissions(routing_id()));
}
+void WebKitTestRunner::SimulateWebNotificationClick(const std::string& title) {
+ Send(new ShellViewHostMsg_SimulateWebNotificationClick(routing_id(), title));
+}
+
void WebKitTestRunner::SetDeviceScaleFactor(float factor) {
content::SetDeviceScaleFactor(render_view(), factor);
}

Powered by Google App Engine
This is Rietveld 408576698