| OLD | NEW |
| 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 native_viewport; | 5 module native_viewport; |
| 6 | 6 |
| 7 // Service implemented by the Shell for the Native Viewport service. | 7 // Service implemented by the Shell for the Native Viewport service. |
| 8 [ServiceName="native_viewport::NativeViewportSupportService"] |
| 8 interface NativeViewportSupportService { | 9 interface NativeViewportSupportService { |
| 9 // Asks the shell to create a new native window (on Android, a new task). | 10 // Asks the shell to create a new native window (on Android, a new task). |
| 10 // The callback will be called when the window is destroyed (on Android, when | 11 // The callback will be called when the window is destroyed (on Android, when |
| 11 // the task is removed). | 12 // the task is removed). |
| 12 CreateNewNativeWindow() => (); | 13 CreateNewNativeWindow() => (); |
| 13 }; | 14 }; |
| OLD | NEW |