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/ContextLifecycleObserver.h" | 10 #include "core/dom/ContextLifecycleObserver.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 DECLARE_VIRTUAL_TRACE(); | 55 DECLARE_VIRTUAL_TRACE(); |
56 | 56 |
57 protected: | 57 protected: |
58 // EventTarget implementation. | 58 // EventTarget implementation. |
59 void addedEventListener(const AtomicString& eventType, | 59 void addedEventListener(const AtomicString& eventType, |
60 RegisteredEventListener&) override; | 60 RegisteredEventListener&) override; |
61 | 61 |
62 private: | 62 private: |
63 PresentationRequest(ExecutionContext*, const Vector<KURL>&); | 63 PresentationRequest(ExecutionContext*, const Vector<KURL>&); |
64 | 64 |
| 65 void recordOriginTypeAccess(ExecutionContext*) const; |
| 66 |
65 Member<PresentationAvailabilityProperty> m_availabilityProperty; | 67 Member<PresentationAvailabilityProperty> m_availabilityProperty; |
66 Vector<KURL> m_urls; | 68 Vector<KURL> m_urls; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace blink | 71 } // namespace blink |
70 | 72 |
71 #endif // PresentationRequest_h | 73 #endif // PresentationRequest_h |
OLD | NEW |