Chromium Code Reviews| Index: content/shell/renderer/test_runner/WebTestDelegate.h |
| diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h |
| index 09f37f7f3e9779debfd87897dd28217a335ecee4..1b0af10b85d58b001fea4ca77faf30467097b8d1 100644 |
| --- a/content/shell/renderer/test_runner/WebTestDelegate.h |
| +++ b/content/shell/renderer/test_runner/WebTestDelegate.h |
| @@ -11,6 +11,7 @@ |
| #include "third_party/WebKit/public/platform/WebString.h" |
| #include "third_party/WebKit/public/platform/WebURL.h" |
| #include "third_party/WebKit/public/platform/WebVector.h" |
| +#include "third_party/WebKit/public/web/WebNotificationPresenter.h" |
| #define WEBTESTRUNNER_NEW_HISTORY_CAPTURE |
| @@ -118,6 +119,13 @@ public: |
| virtual void clearAllDatabases() = 0; |
| virtual void setDatabaseQuota(int) = 0; |
| + // Controls Web Notification permissions. |
| + virtual blink::WebNotificationPresenter::Permission |
|
Peter Beverloo
2014/07/15 16:28:26
Note that blink::WebNotificationPresenter::Permiss
|
| + checkWebNotificationPermission(const GURL& origin) = 0; |
| + virtual void grantWebNotificationPermission(const GURL& origin, |
| + bool permission_granted) = 0; |
| + virtual void clearWebNotificationPermissions() = 0; |
| + |
| // Controls the device scale factor of the main WebView for hidpi tests. |
| virtual void setDeviceScaleFactor(float) = 0; |