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

Side by Side Diff: webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl

Issue 1965583002: Move //webapk to //chrome/android/webapk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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 2015 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.webapk.lib.runtime_library;
6
7 import android.app.Notification;
8 import android.app.PendingIntent;
9 import android.content.Intent;
10 import android.os.Bundle;
11
12 /**
13 * Interface for communicating between the minted helper service and Chrome.
14 */
15 interface IWebApkApi {
16 // Given an Intent, creates a PendingIntent which is broadcasted by the WebA PK.
17 PendingIntent getBroadcastPendingIntent(int requestCode, in Intent intent, i nt flags);
18
19 // Get the small icon id for displaying a notification.
20 int getSmallIconId();
21
22 // Display a notification.
23 void displayNotification(String platformTag, int platformID, in Notification notification);
24
25 // Close a notification.
26 void closeNotification(String platformTag, int platformID);
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698