Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 module extensions.mojom; | |
| 6 | |
| 7 [Native] | |
| 8 enum WebstoreInstallResult; | |
| 9 | |
| 10 [Native] | |
| 11 enum WebstoreInstallStage; | |
| 12 | |
| 13 interface InlineInstallStatus { | |
| 14 // Notifies the renderer when install stage updates were requested for an | |
| 15 // inline install. | |
| 16 InlineInstallStageChanged(WebstoreInstallStage stage); | |
| 17 | |
| 18 // Notifies the renderer when download progress updates were requested for an | |
| 19 // inline install. | |
| 20 InlineInstallDownloadProgress(int32 percent_downloaded); | |
| 21 }; | |
| 22 | |
| 23 interface InlineInstall { | |
| 24 // Sent by the renderer to implement chrome.webstore.install() and notifies | |
| 25 // the renderer once the installation is complete. | |
| 26 DoInlineInstall(int32 install_id, int32 route_id, | |
|
Devlin
2017/04/12 01:16:07
Do we need route id?
catmullings
2017/04/14 20:59:40
Done.
| |
| 27 string webstore_item_id, int32 listeners_mask) => (int32 install_id, | |
| 28 bool success, string error, WebstoreInstallResult result); | |
| 29 }; | |
| 30 | |
| 31 | |
| OLD | NEW |