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

Side by Side Diff: third_party/WebKit/public/platform/modules/app_banner/app_banner.mojom

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 years, 1 month 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
(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 AppBannerController {
13 // The browser asks the renderer if the app banner should be shown.
14 BannerPromptRequest(AppBannerService service, AppBannerEvent& event,
15 array<string> platform) =>
16 (AppBannerPromptReply reply, string referrer);
17 };
18
19 interface AppBannerEvent {
20 // The browser informs the renderer the response to the app banner.
21 BannerAccepted(string platform);
22 BannerDismissed();
23 };
24
25 interface AppBannerService {
26 // The renderer asks the browser to display a previously offered app banner.
27 DisplayAppBanner();
28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698