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

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

Issue 1848103005: [Extensions] Remove the "use_movable_types" entry from idl/json files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.hangoutsPrivate</code> API is used by Google Hangouts to 5 // The <code>chrome.hangoutsPrivate</code> API is used by Google Hangouts to
6 // wait on a request from Chrome to start a hangout. 6 // wait on a request from Chrome to start a hangout.
7 // TODO(rkc): This API is temporary. We are working on plans which include 7 // TODO(rkc): This API is temporary. We are working on plans which include
8 // replacing this with a scheme based solution which might be implemented 8 // replacing this with a scheme based solution which might be implemented
9 // using registerProtocolHandler, but we are still finishing that design. 9 // using registerProtocolHandler, but we are still finishing that design.
10 // See crbug.com/306672 10 // See crbug.com/306672
11 [use_movable_types=true] namespace hangoutsPrivate { 11 namespace hangoutsPrivate {
12 12
13 enum HangoutType {chat, video, audio}; 13 enum HangoutType {chat, video, audio};
14 14
15 dictionary User { 15 dictionary User {
16 // GAIA obfuscated id of the user. 16 // GAIA obfuscated id of the user.
17 DOMString id; 17 DOMString id;
18 }; 18 };
19 19
20 dictionary HangoutRequest { 20 dictionary HangoutRequest {
21 // Email of the user sending this request. This has to match the logged in 21 // Email of the user sending this request. This has to match the logged in
22 // user otherwise the hangout will not be opened. 22 // user otherwise the hangout will not be opened.
23 DOMString from; 23 DOMString from;
24 24
25 // A list of users with whom to start this hangout with. 25 // A list of users with whom to start this hangout with.
26 User[] to; 26 User[] to;
27 27
28 // Type of hangout request. 28 // Type of hangout request.
29 HangoutType type; 29 HangoutType type;
30 }; 30 };
31 31
32 interface Events { 32 interface Events {
33 // Fired when Chrome wants to request a new hangout be opened up with a 33 // Fired when Chrome wants to request a new hangout be opened up with a
34 // user (or set of users). 34 // user (or set of users).
35 static void onHangoutRequested(HangoutRequest request); 35 static void onHangoutRequested(HangoutRequest request);
36 }; 36 };
37 }; 37 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698