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

Unified Diff: components/test_runner/test_runner.h

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
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index ac2ebd935dc57b3d32cf7d54b82bfe1b11ac8f5f..0133ed274adc9118cbc85cf2862326b32c5e8949 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -25,6 +25,10 @@
class GURL;
class SkBitmap;
+namespace base {
+class NullableString16;
+}
+
namespace blink {
class WebContentSettingsClient;
class WebFrame;
@@ -529,7 +533,9 @@ class TestRunner : public WebTestRunner {
void SetMIDIAccessorResult(bool result);
// Simulates a click on a Web Notification.
- void SimulateWebNotificationClick(const std::string& title, int action_index);
+ void SimulateWebNotificationClick(const std::string& title,
+ int action_index,
+ const base::NullableString16& reply);
// Simulates closing a Web Notification.
void SimulateWebNotificationClose(const std::string& title, bool by_user);
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698