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 #include "modules/presentation/PresentationRequest.h" | 5 #include "modules/presentation/PresentationRequest.h" |
6 | 6 |
7 #include "bindings/core/v8/CallbackPromiseAdapter.h" | 7 #include "bindings/core/v8/CallbackPromiseAdapter.h" |
8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
10 #include "bindings/core/v8/ScriptPromiseResolver.h" | 10 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 11 #include "core/dom/DOMException.h" |
11 #include "core/dom/Document.h" | 12 #include "core/dom/Document.h" |
12 #include "core/dom/ExecutionContext.h" | 13 #include "core/dom/ExecutionContext.h" |
13 #include "core/frame/Settings.h" | 14 #include "core/frame/Settings.h" |
14 #include "core/frame/UseCounter.h" | 15 #include "core/frame/UseCounter.h" |
15 #include "modules/EventTargetModules.h" | 16 #include "modules/EventTargetModules.h" |
16 #include "modules/presentation/PresentationAvailability.h" | 17 #include "modules/presentation/PresentationAvailability.h" |
17 #include "modules/presentation/PresentationAvailabilityCallbacks.h" | 18 #include "modules/presentation/PresentationAvailabilityCallbacks.h" |
18 #include "modules/presentation/PresentationConnection.h" | 19 #include "modules/presentation/PresentationConnection.h" |
19 #include "modules/presentation/PresentationConnectionCallbacks.h" | 20 #include "modules/presentation/PresentationConnectionCallbacks.h" |
20 #include "modules/presentation/PresentationController.h" | 21 #include "modules/presentation/PresentationController.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 } | 166 } |
166 | 167 |
167 PresentationRequest::PresentationRequest(ExecutionContext* executionContext, con
st KURL& url) | 168 PresentationRequest::PresentationRequest(ExecutionContext* executionContext, con
st KURL& url) |
168 : ActiveScriptWrappable(this) | 169 : ActiveScriptWrappable(this) |
169 , ActiveDOMObject(executionContext) | 170 , ActiveDOMObject(executionContext) |
170 , m_url(url) | 171 , m_url(url) |
171 { | 172 { |
172 } | 173 } |
173 | 174 |
174 } // namespace blink | 175 } // namespace blink |
OLD | NEW |