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

Unified Diff: content/shell/browser/layout_test/layout_test_message_filter.cc

Issue 1262893006: Enable testing NotificationEvent.action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@click_actions
Patch Set: Tweak TestRunner gin::Argument handling Created 5 years, 4 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/browser/layout_test/layout_test_message_filter.cc
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc
index a6713cab8545e2494312ac0b3225719445076fa8..7b80ac839dbb68958f67eefe7e2a85636b212801 100644
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc
@@ -112,11 +112,11 @@ void LayoutTestMessageFilter::OnSetDatabaseQuota(int quota) {
}
void LayoutTestMessageFilter::OnSimulateWebNotificationClick(
- const std::string& title) {
+ const std::string& title, int action_index) {
LayoutTestNotificationManager* manager =
LayoutTestContentBrowserClient::Get()->GetLayoutTestNotificationManager();
if (manager)
- manager->SimulateClick(title);
+ manager->SimulateClick(title, action_index);
}
void LayoutTestMessageFilter::OnAcceptAllCookies(bool accept) {

Powered by Google App Engine
This is Rietveld 408576698