naiveproxy/chromecast/common/mojom/media_playback_options.mojom

14 lines
503 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
// Copyright 2018 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.
module chromecast.shell.mojom;
// Receives messages from browser process to control media playback options
// (block loading, background suspend) for a specific RenderFrame.
// Implemented by a RenderFrameObserver.
interface MediaPlaybackOptions {
SetMediaLoadingBlocked(bool blocked);
SetBackgroundSuspendEnabled(bool enabled);
};