naiveproxy/services/viz/public/interfaces/compositing/compositing_mode_watcher.mojom

17 lines
559 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
// Copyright 2017 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 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(CompositingModeWatcher watcher);
};