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

Unified Diff: modules/serviceworkers/InstallEvent.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 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 | « modules/screen_orientation/ScreenOrientation.idl ('k') | modules/serviceworkers/InstallPhaseEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/serviceworkers/InstallEvent.idl
diff --git a/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/modules/serviceworkers/InstallEvent.idl
similarity index 87%
copy from modules/serviceworkers/ServiceWorkerGlobalScope.idl
copy to modules/serviceworkers/InstallEvent.idl
index 3db592745d72a1a2e517c36087f6d19977ecaa38..9384e90def61a7cd3504df35782d3e34eac38134 100644
--- a/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/modules/serviceworkers/InstallEvent.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (C) 2014 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -27,12 +27,11 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
[
- GlobalContext=ServiceWorkerGlobalScope,
RuntimeEnabled=ServiceWorker,
-] interface ServiceWorkerGlobalScope : WorkerGlobalScope {
- attribute EventHandler oninstall;
- attribute EventHandler onactivate;
- attribute EventHandler onfetch;
+ GlobalContext=ServiceWorkerGlobalScope,
+] interface InstallEvent : InstallPhaseEvent {
+ void replace();
+ [CallWith=ExecutionContext] Promise reloadAll();
};
-
« no previous file with comments | « modules/screen_orientation/ScreenOrientation.idl ('k') | modules/serviceworkers/InstallPhaseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698