blob: 78a8f754c0e02a4a7bf34dbfde8dd595d1072838 [file] [log] [blame]
// Copyright 2016 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 content.mojom;
import "mojo/public/mojom/base/thread_priority.mojom";
interface RenderMessageFilter {
// Synchronously generates a new routing ID for the caller.
[Sync] GenerateRoutingID() => (int32 routing_id);
// A renderer sends this when it wants to know whether a gpu process exists.
[Sync] HasGpuProcess() => (bool has_gpu_process);
// Asks the browser to change the priority of thread.
[EnableIf=supports_thread_priorities]
SetThreadPriority(int32 platform_thread_id,
mojo_base.mojom.ThreadPriority thread_priority);
};