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

Side by Side Diff: chrome/common/extensions/api/app_runtime.idl

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another merge before retrying commit. Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 namespace app.runtime {
6
7 callback NullCallback = void ();
8
9 // A WebIntents intent object.
10 [inline_doc] dictionary Intent {
11 // The WebIntent being invoked.
12 DOMString action;
13
14 // The MIME type of the data.
15 DOMString type;
16
17 // Data associated with the intent.
18 any data;
19
20 // Callback to be compatible with WebIntents.
21 NullCallback postResult;
22
23 // Callback to be compatible with WebIntents.
24 NullCallback postFailure;
25 };
26
27 // Optional data for the launch.
28 [inline_doc] dictionary LaunchData {
29 Intent intent;
30 };
31
32 interface Events {
33 static void onLaunched(optional LaunchData launchData);
34 };
35
36 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/api/experimental_app.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698