blob: f08fa0234aabb71e2bd99e46377aa9b7dfe27834 [file] [log] [blame]
// 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.
namespace chromecast {
class CastTouchActivityObserver {
virtual ~CastTouchActivityObserver() = default;
// Invoked when the window manager has touch input disabled.
virtual void OnTouchEventsDisabled(bool disabled) = 0;
// Invoked when input is disabled and an input event is received.
// Can be used by the observer to turn touch input back on.
virtual void OnTouchActivity() = 0;
} // namespace chromecast