| Index: third_party/WebKit/Source/modules/background_fetch/ServiceWorkerGlobalScopeBackgroundFetch.idl
|
| diff --git a/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerGlobalScopeBackgroundFetch.idl b/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerGlobalScopeBackgroundFetch.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c00e06e3aa2de04f9f035ae94cd76a7540705af5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerGlobalScopeBackgroundFetch.idl
|
| @@ -0,0 +1,14 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// https://wicg.github.io/background-fetch/#events
|
| +
|
| +[
|
| + RuntimeEnabled=BackgroundFetch
|
| +] partial interface ServiceWorkerGlobalScope {
|
| + attribute EventHandler onbackgroundfetched;
|
| + attribute EventHandler onbackgroundfetchfail;
|
| + attribute EventHandler onbackgroundfetchabort;
|
| + attribute EventHandler onbackgroundfetchclick;
|
| +};
|
|
|