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

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

Issue 2403893002: Add layout test for reply property of notificationclick event (Closed)
Patch Set: Make reply field nullable in .idl files; add test cases for empty and null Created 4 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/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 a956d93b5c5faa035498148bad3c8af682758710..b302b3dc81de53af4718b7f003d7f82f7639beba 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -481,10 +481,12 @@ void BlinkTestRunner::SetDatabaseQuota(int quota) {
Send(new LayoutTestHostMsg_SetDatabaseQuota(routing_id(), quota));
}
-void BlinkTestRunner::SimulateWebNotificationClick(const std::string& title,
- int action_index) {
+void BlinkTestRunner::SimulateWebNotificationClick(
+ const std::string& title,
+ int action_index,
+ const base::NullableString16& reply) {
Send(new LayoutTestHostMsg_SimulateWebNotificationClick(routing_id(), title,
- action_index));
+ action_index, reply));
}
void BlinkTestRunner::SimulateWebNotificationClose(const std::string& title,

Powered by Google App Engine
This is Rietveld 408576698