OLD | NEW |
---|---|
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 String scope(ExecutionContext*); | 53 String scope(ExecutionContext*); |
54 | 54 |
55 // EventTarget | 55 // EventTarget |
56 virtual const AtomicString& interfaceName() const OVERRIDE; | 56 virtual const AtomicString& interfaceName() const OVERRIDE; |
57 | 57 |
58 DEFINE_ATTRIBUTE_EVENT_LISTENER(install); | 58 DEFINE_ATTRIBUTE_EVENT_LISTENER(install); |
59 DEFINE_ATTRIBUTE_EVENT_LISTENER(activate); | 59 DEFINE_ATTRIBUTE_EVENT_LISTENER(activate); |
60 DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch); | 60 DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch); |
61 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); | 61 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |
62 DEFINE_ATTRIBUTE_EVENT_LISTENER(sync); | 62 DEFINE_ATTRIBUTE_EVENT_LISTENER(sync); |
63 DEFINE_ATTRIBUTE_EVENT_LISTENER(push); | |
Peter Beverloo
2014/05/16 15:41:43
Please define these in a new partial interface cal
Michael van Ouwerkerk
2014/05/21 17:06:42
Done.
| |
63 | 64 |
64 virtual void trace(Visitor*) OVERRIDE; | 65 virtual void trace(Visitor*) OVERRIDE; |
65 | 66 |
66 private: | 67 private: |
67 ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorker Thread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>); | 68 ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorker Thread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>); |
68 | 69 |
69 RefPtr<ServiceWorkerClients> m_clients; | 70 RefPtr<ServiceWorkerClients> m_clients; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace WebCore | 73 } // namespace WebCore |
73 | 74 |
74 #endif // ServiceWorkerGlobalScope_h | 75 #endif // ServiceWorkerGlobalScope_h |
OLD | NEW |