[GRC] Add Visible property to Coordination Unit

Desktop / Chromium - Duc Bui [google.com] - 13 July 2017 13:30 EDT

This patch adds visible property, and uses it in WebContentsCoordinationUnit. This property is useful for metrics which need to determine whether the corresponding tab is foreground or not.

Change-Id: I99520710a8887ea3f5aa3d3c9a56b2d6f446ac53

BUG=737817

Change-Id: I99520710a8887ea3f5aa3d3c9a56b2d6f446ac53 Reviewed-on: https://chromium-review.googlesource.com/568365 Commit-Queue: Duc Bui

88324da [GRC] Add Visible property to Coordination Unit.
.../resource_coordinator_web_contents_observer.cc | 7 +++++++
.../public/cpp/resource_coordinator_interface.cc | 7 +++++++
.../public/cpp/resource_coordinator_interface.h | 2 ++
.../resource_coordinator/public/interfaces/coordination_unit.mojom | 1 +
4 files changed, 17 insertions(+)

Upstream: git.chromium.org


  • Share