chromium/services/viz/public/mojom/compositing/compositing_mode_watcher.mojom

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module viz.mojom;

interface CompositingModeWatcher {
  CompositingModeFallbackToSoftware();
};

interface CompositingModeReporter {
  // Adds a watcher to hear when the compositing mode will use software instead of
  // gpu. If the compositing mode is software already when the watcher is added, it
  // will still be notified.
  AddCompositingModeWatcher(pending_remote<CompositingModeWatcher> watcher);
};