cast_web_view.cc 574 B

12345678910111213141516
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "chromecast/browser/cast_web_view.h"
  5. namespace chromecast {
  6. void CastWebView::BindReceivers(
  7. mojo::PendingReceiver<mojom::CastWebContents> web_contents_receiver,
  8. mojo::PendingReceiver<mojom::CastContentWindow> window_receiver) {
  9. cast_web_contents()->BindOwnerReceiver(std::move(web_contents_receiver));
  10. window()->BindReceiver(std::move(window_receiver));
  11. }
  12. } // namespace chromecast