Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: components/arc/common/process.mojom

Issue 2095413002: TabManagerDelegate: Better prioritize ARC processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to ToT Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/process.mojom
diff --git a/components/arc/common/process.mojom b/components/arc/common/process.mojom
index 6dd05d68d51922eb9f04399ab6d40eb9988e6e8a..f2d365f7e2e1e9723e63155d8e86707cf15072a8 100644
--- a/components/arc/common/process.mojom
+++ b/components/arc/common/process.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 5
+// Next MinVersion: 6
module arc.mojom;
@@ -87,6 +87,13 @@ struct RunningAppProcessInfo {
// Package names running in the process.
[MinVersion=4] array<string>? packages;
+
+ // Whether this app is focused in ARC++ multi-window environment.
+ [MinVersion=5] bool is_focused;
+
+ // Last time the process was active. Milliseconds since boot.
+ // The clock is monotonic (comes from Android System.uptimeMillis()).
+ [MinVersion=5] int64 last_activity_time;
};
interface ProcessInstance {
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698