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

Unified Diff: components/test_runner/web_test_delegate.h

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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index d5d67e4eb9c6dcc89e7f6889b743224314884410..9aa52902387ac4dd284e21911e0c05675b74be92 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -157,6 +157,8 @@ class WebTestDelegate {
// Controls Web Notifications.
virtual void SimulateWebNotificationClick(const std::string& title,
int action_index) = 0;
+ virtual void SimulateWebNotificationClose(const std::string& title,
+ bool by_user) = 0;
// Controls the device scale factor of the main WebView for hidpi tests.
virtual void SetDeviceScaleFactor(float factor) = 0;
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/shell/browser/layout_test/layout_test_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698