blob: 216c8f8afa886468893cb2c38851bb5deaf62c65 [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.
library chromium.cast;
// TODO(crbug.com/1028409): Remove this interface and use ApplicationContext.
[Discoverable]
protocol ApplicationControllerReceiver {
/// Used by the Agent to receive a controller from the Cast Runner.
/// Can only be called at most one time for the lifetime of the Component.
SetApplicationController(ApplicationController controller);
};
/// Allows clients to access and modify certain aspects of the Cast receiver
/// application runtime.
protocol ApplicationController {
/// Enables or disables touch event processing.
SetTouchInputEnabled(bool enable);
};