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

Side by Side Diff: Source/modules/serviceworkers/ServiceWorkerContainer.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 22 matching lines...) Expand all
33 #include "bindings/core/v8/CallbackPromiseAdapter.h" 33 #include "bindings/core/v8/CallbackPromiseAdapter.h"
34 #include "bindings/core/v8/ScriptPromise.h" 34 #include "bindings/core/v8/ScriptPromise.h"
35 #include "bindings/core/v8/ScriptPromiseResolver.h" 35 #include "bindings/core/v8/ScriptPromiseResolver.h"
36 #include "bindings/core/v8/ScriptState.h" 36 #include "bindings/core/v8/ScriptState.h"
37 #include "bindings/core/v8/SerializedScriptValue.h" 37 #include "bindings/core/v8/SerializedScriptValue.h"
38 #include "core/dom/DOMException.h" 38 #include "core/dom/DOMException.h"
39 #include "core/dom/ExceptionCode.h" 39 #include "core/dom/ExceptionCode.h"
40 #include "core/dom/ExecutionContext.h" 40 #include "core/dom/ExecutionContext.h"
41 #include "core/dom/MessagePort.h" 41 #include "core/dom/MessagePort.h"
42 #include "core/events/MessageEvent.h" 42 #include "core/events/MessageEvent.h"
43 #include "core/frame/LocalDOMWindow.h"
43 #include "modules/serviceworkers/ServiceWorker.h" 44 #include "modules/serviceworkers/ServiceWorker.h"
44 #include "modules/serviceworkers/ServiceWorkerContainerClient.h" 45 #include "modules/serviceworkers/ServiceWorkerContainerClient.h"
45 #include "modules/serviceworkers/ServiceWorkerError.h" 46 #include "modules/serviceworkers/ServiceWorkerError.h"
46 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 47 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
47 #include "platform/RuntimeEnabledFeatures.h" 48 #include "platform/RuntimeEnabledFeatures.h"
48 #include "public/platform/WebServiceWorker.h" 49 #include "public/platform/WebServiceWorker.h"
49 #include "public/platform/WebServiceWorkerProvider.h" 50 #include "public/platform/WebServiceWorkerProvider.h"
50 #include "public/platform/WebServiceWorkerRegistration.h" 51 #include "public/platform/WebServiceWorkerRegistration.h"
51 #include "public/platform/WebString.h" 52 #include "public/platform/WebString.h"
52 #include "public/platform/WebURL.h" 53 #include "public/platform/WebURL.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 m_ready = createReadyProperty(); 264 m_ready = createReadyProperty();
264 265
265 if (ServiceWorkerContainerClient* client = ServiceWorkerContainerClient::fro m(executionContext)) { 266 if (ServiceWorkerContainerClient* client = ServiceWorkerContainerClient::fro m(executionContext)) {
266 m_provider = client->provider(); 267 m_provider = client->provider();
267 if (m_provider) 268 if (m_provider)
268 m_provider->setClient(this); 269 m_provider->setClient(this);
269 } 270 }
270 } 271 }
271 272
272 } // namespace blink 273 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698