| Index: third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
|
| index f7b4cbaf09ce26abe94dad1f992c119304be4fdf..0c77e4b5226a6d0bfe1c89c3e1112789b957d320 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "modules/presentation/PresentationReceiver.h"
|
| +#include "modules/presentation/PresentationConnectionList.h"
|
|
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "core/dom/DOMException.h"
|
| @@ -18,29 +19,13 @@ PresentationReceiver::PresentationReceiver(LocalFrame* frame)
|
| {
|
| }
|
|
|
| -const AtomicString& PresentationReceiver::interfaceName() const
|
| +ScriptPromise PresentationReceiver::connectionList(ScriptState* scriptState)
|
| {
|
| - return EventTargetNames::PresentationReceiver;
|
| -}
|
| -
|
| -ExecutionContext* PresentationReceiver::getExecutionContext() const
|
| -{
|
| - return frame() ? frame()->document() : nullptr;
|
| -}
|
| -
|
| -ScriptPromise PresentationReceiver::getConnection(ScriptState* scriptState)
|
| -{
|
| - return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError, "PresentationReceiver::getConnection() is not implemented yet."));
|
| -}
|
| -
|
| -ScriptPromise PresentationReceiver::getConnections(ScriptState* scriptState)
|
| -{
|
| - return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError, "PresentationReceiver::getConnections() is not implemented yet."));
|
| + return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError, "PresentationReceiver::connectionList() is not implemented yet."));
|
| }
|
|
|
| DEFINE_TRACE(PresentationReceiver)
|
| {
|
| - EventTargetWithInlineData::trace(visitor);
|
| DOMWindowProperty::trace(visitor);
|
| }
|
|
|
|
|