| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 PresentationRequest_h | 5 #ifndef PresentationRequest_h |
| 6 #define PresentationRequest_h | 6 #define PresentationRequest_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ActiveScriptWrappable.h" | 8 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
| 10 #include "core/dom/ActiveDOMObject.h" | 10 #include "core/dom/ActiveDOMObject.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 ScriptPromise getAvailability(ScriptState*); | 40 ScriptPromise getAvailability(ScriptState*); |
| 41 | 41 |
| 42 const KURL& url() const; | 42 const KURL& url() const; |
| 43 | 43 |
| 44 DEFINE_ATTRIBUTE_EVENT_LISTENER(connectionavailable); | 44 DEFINE_ATTRIBUTE_EVENT_LISTENER(connectionavailable); |
| 45 | 45 |
| 46 DECLARE_VIRTUAL_TRACE(); | 46 DECLARE_VIRTUAL_TRACE(); |
| 47 | 47 |
| 48 protected: | 48 protected: |
| 49 // EventTarget implementation. | 49 // EventTarget implementation. |
| 50 bool addEventListenerInternal(const AtomicString& eventType, EventListener*,
const EventListenerOptions&) override; | 50 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 PresentationRequest(ExecutionContext*, const KURL&); | 53 PresentationRequest(ExecutionContext*, const KURL&); |
| 54 | 54 |
| 55 KURL m_url; | 55 KURL m_url; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif // PresentationRequest_h | 60 #endif // PresentationRequest_h |
| OLD | NEW |