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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 static size_t maxActions(); | 119 static size_t maxActions(); |
120 | 120 |
121 // EventTarget interface. | 121 // EventTarget interface. |
122 ExecutionContext* getExecutionContext() const final { | 122 ExecutionContext* getExecutionContext() const final { |
123 return ActiveDOMObject::getExecutionContext(); | 123 return ActiveDOMObject::getExecutionContext(); |
124 } | 124 } |
125 const AtomicString& interfaceName() const override; | 125 const AtomicString& interfaceName() const override; |
126 | 126 |
127 // ActiveDOMObject interface. | 127 // ActiveDOMObject interface. |
128 void stop() override; | 128 void contextDestroyed() override; |
129 | 129 |
130 // ScriptWrappable interface. | 130 // ScriptWrappable interface. |
131 bool hasPendingActivity() const final; | 131 bool hasPendingActivity() const final; |
132 | 132 |
133 DECLARE_VIRTUAL_TRACE(); | 133 DECLARE_VIRTUAL_TRACE(); |
134 | 134 |
135 protected: | 135 protected: |
136 // EventTarget interface. | 136 // EventTarget interface. |
137 DispatchEventResult dispatchEventInternal(Event*) final; | 137 DispatchEventResult dispatchEventInternal(Event*) final; |
138 | 138 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 String m_notificationId; | 176 String m_notificationId; |
177 | 177 |
178 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; | 178 Member<AsyncMethodRunner<Notification>> m_prepareShowMethodRunner; |
179 | 179 |
180 Member<NotificationResourcesLoader> m_loader; | 180 Member<NotificationResourcesLoader> m_loader; |
181 }; | 181 }; |
182 | 182 |
183 } // namespace blink | 183 } // namespace blink |
184 | 184 |
185 #endif // Notification_h | 185 #endif // Notification_h |
OLD | NEW |