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

Unified Diff: components/arc/arc_bridge_service.h

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Luis's comments Created 5 years 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
Index: components/arc/arc_bridge_service.h
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h
index f3cc81f4cc9463eeb06462d2889581c7dae2baf8..ba074925dc3b47c728eb0bc401581cf858995bfa 100644
--- a/components/arc/arc_bridge_service.h
+++ b/components/arc/arc_bridge_service.h
@@ -78,6 +78,9 @@ class ArcBridgeService {
// Called whenever ARC's availability has changed for this system.
virtual void OnAvailableChanged(bool available) {}
+ // Called whenever the ARC video is ready.
+ virtual void OnVideoInstanceReady() {}
+
protected:
virtual ~Observer() {}
};
@@ -170,6 +173,8 @@ class ArcBridgeService {
void AddProcessObserver(ProcessObserver* observer);
void RemoveProcessObserver(ProcessObserver* observer);
+ virtual VideoInstance* video_instance() = 0;
+
// Gets the current state of the bridge service.
State state() const { return state_; }

Powered by Google App Engine
This is Rietveld 408576698