Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package org.chromium.media; | |
| 6 | |
| 7 // Callback interface for an IAndroidOverlay. | |
| 8 oneway interface IAndroidOverlayCallback { | |
| 9 // Notify the callback that an Android Surface has been created. | |
| 10 void onCreated(in Surface surface); | |
| 11 | |
| 12 // Notify the client that the Androi Surface has been destroyed. The client | |
|
boliu
2017/02/08 00:01:59
android typo
| |
| 13 // must create a new AndroidOverlay, if desired. Any pending or future | |
| 14 // calls into IAndroidOverlay will be ignored. | |
| 15 // If |completion| is provided, then we should signal that when destroy | |
| 16 // processing is complete. When it is signalled, the client should not be | |
| 17 // using the surface anymore. | |
| 18 void onDestroyed(in IAndroidOverlayCompletion completion); | |
| 19 } | |
| OLD | NEW |