• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (c) 2013 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// identityPrivate.
6namespace identityPrivate {
7
8  callback GetStringsCallback = void (object result);
9
10  interface Functions {
11    // Gets localized strings required to render the API.
12    //
13    // |callback| : Called with a dictionary mapping names to resource strings.
14    static void getStrings(GetStringsCallback callback);
15  };
16
17  interface Events {
18    // Fired when a web flow dialog should be displayed.
19    static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode);
20  };
21};
22