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