OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ServiceWorkerWindowClient_h | 5 #ifndef ServiceWorkerWindowClient_h |
6 #define ServiceWorkerWindowClient_h | 6 #define ServiceWorkerWindowClient_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
10 #include "modules/serviceworkers/ServiceWorkerClient.h" | 11 #include "modules/serviceworkers/ServiceWorkerClient.h" |
11 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
12 #include "wtf/Forward.h" | 13 #include "wtf/Forward.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class ScriptPromiseResolver; | 17 class ScriptPromiseResolver; |
18 class ScriptState; | 18 class ScriptState; |
19 | 19 |
20 class MODULES_EXPORT ServiceWorkerWindowClient final | 20 class MODULES_EXPORT ServiceWorkerWindowClient final |
21 : public ServiceWorkerClient { | 21 : public ServiceWorkerClient { |
22 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
23 | 23 |
(...skipping 19 matching lines...) Expand all Loading... |
43 private: | 43 private: |
44 explicit ServiceWorkerWindowClient(const WebServiceWorkerClientInfo&); | 44 explicit ServiceWorkerWindowClient(const WebServiceWorkerClientInfo&); |
45 | 45 |
46 WebPageVisibilityState m_pageVisibilityState; | 46 WebPageVisibilityState m_pageVisibilityState; |
47 bool m_isFocused; | 47 bool m_isFocused; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace blink | 50 } // namespace blink |
51 | 51 |
52 #endif // ServiceWorkerWindowClient_h | 52 #endif // ServiceWorkerWindowClient_h |
OLD | NEW |