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

Side by Side Diff: components/arc/common/arc_bridge.mojom

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc;
6 6
7 // Describes the boot phase of the ARC instance, as defined by AOSP in 7 // Describes the boot phase of the ARC instance, as defined by AOSP in
8 // com.android.server.SystemService 8 // com.android.server.SystemService
9 enum InstanceBootPhase { 9 enum InstanceBootPhase {
10 // Boot phase indicating that the instance is not running 10 // Boot phase indicating that the instance is not running
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Notifies that a notification is removed on Android. 216 // Notifies that a notification is removed on Android.
217 // |key| is the identifier of the notification. 217 // |key| is the identifier of the notification.
218 OnNotificationRemoved(string key); 218 OnNotificationRemoved(string key);
219 219
220 // Acquire and release wake locks on the host side. 220 // Acquire and release wake locks on the host side.
221 OnAcquireDisplayWakeLock(DisplayWakeLockType type); 221 OnAcquireDisplayWakeLock(DisplayWakeLockType type);
222 OnReleaseDisplayWakeLock(DisplayWakeLockType type); 222 OnReleaseDisplayWakeLock(DisplayWakeLockType type);
223 223
224 // Notifies Chrome that the ARC process list has been updated. 224 // Notifies Chrome that the ARC process list has been updated.
225 OnUpdateProcessList(array<RunningAppProcessInfo> processes); 225 OnUpdateProcessList(array<RunningAppProcessInfo> processes);
226
227 // Notifies Chrome a request for ipc channel of video acceleration.
228 OnRequestArcVideoAcceleratorChannel();
Luis Héctor Chávez 2015/12/16 16:37:22 Instead of adding methods directly to ArcBridge, c
kcwu 2015/12/22 11:58:25 Done. Since your refactoring was reverted, I try t
226 }; 229 };
227 230
228 interface ArcBridgeInstance { 231 interface ArcBridgeInstance {
229 // Establishes full-duplex communication with the host. 232 // Establishes full-duplex communication with the host.
230 // |pipe| is the MessagePipe endpoint that is bound to the ArcBridgeHostPtr 233 // |pipe| is the MessagePipe endpoint that is bound to the ArcBridgeHostPtr
231 // binding. 234 // binding.
232 Init(ArcBridgeHost host_ptr); 235 Init(ArcBridgeHost host_ptr);
233 236
234 // Registers a virtual input device on the container side. 237 // Registers a virtual input device on the container side.
235 // |name| is the device name, like "Chrome OS Keyboard". 238 // |name| is the device name, like "Chrome OS Keyboard".
(...skipping 20 matching lines...) Expand all
256 // package and activity, which cannot be empty. 259 // package and activity, which cannot be empty.
257 RequestAppIcon(string package, string activity, 260 RequestAppIcon(string package, string activity,
258 ScaleFactor scale_factor); 261 ScaleFactor scale_factor);
259 262
260 // Sends an event from Chrome notification UI to Android. 263 // Sends an event from Chrome notification UI to Android.
261 // |event| is a type of occured event. 264 // |event| is a type of occured event.
262 SendNotificationEventToAndroid(string key, ArcNotificationEvent event); 265 SendNotificationEventToAndroid(string key, ArcNotificationEvent event);
263 266
264 // Requests ARC instance to return the current process list. 267 // Requests ARC instance to return the current process list.
265 RequestProcessList(); 268 RequestProcessList();
269
270 // Notify the ipc handle for video accelerator is created.
271 NotifyVideoAcceleratorChannelCreated(handle channel_handle);
266 }; 272 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698