blob: 523fcb3ed35b9da9ea47c2a66b3d565ca6edb984 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/browser/cast_web_service.h"
#include <memory>
#include "chromecast/browser/cast_content_window_aura.h"
namespace chromecast {
std::unique_ptr<CastContentWindow> CastWebService::CreateWindow(
base::WeakPtr<CastContentWindow::Delegate> delegate,
mojom::CastWebViewParamsPtr params) {
return std::make_unique<CastContentWindowAura>(delegate, std::move(params),
window_manager_);
}
} // namespace chromecast