summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/identity_private.idl
blob: 201d4b6a4961a03e872249c34c3f7abb1af68bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// identityPrivate.
namespace identityPrivate {

  callback GetResourcesCallback = void (object result);

  interface Functions {
    // Gets resources required to render the API.
    //
    // |callback| : Called with a dictionary mapping names to resource strings.
    static void getResources(GetResourcesCallback callback);
  };

  interface Events {
    // Fired when a web flow dialog should be displayed.
    static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode);
  };
};