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 module blink.mojom; | |
| 6 | |
| 7 enum AppBannerPromptReply { | |
| 8 NONE, | |
| 9 CANCEL, | |
| 10 }; | |
| 11 | |
| 12 interface AppBannerClient { | |
| 13 // Called from the browser to ask the renderer if the app banner should be | |
| 14 // shown. | |
| 15 BannerPromptRequest(int32 request_id, string platform) => | |
|
Sam McNally
2016/10/06 07:17:44
Two space indent.
dominickn
2016/10/06 22:58:12
Done.
| |
| 16 (int32 request_id, AppBannerPromptReply reply, string? referrer); | |
| 17 }; | |
| 18 | |
| 19 interface AppBannerEvent { | |
| 20 // Called from the browser to inform the event that the app banner was | |
| 21 // accepted or dismissed. | |
| 22 BannerAccepted(int32 request_id, string platform); | |
| 23 BannerDismissed(int32 request_id); | |
| 24 }; | |
| 25 | |
| 26 interface AppBannerService { | |
| 27 // Called to the browser from the renderer to display a previously offered | |
| 28 // app banner. | |
| 29 DisplayAppBanner(int32 request_id); | |
| 30 | |
| 31 SetEvent(AppBannerEvent event); | |
| 32 }; | |
| OLD | NEW |