Home | History | Annotate | Download | only in api
      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.
      6 namespace identityPrivate {
      7 
      8   callback GetResourcesCallback = void (object result);
      9 
     10   interface Functions {
     11     // Gets resources required to render the API.
     12     //
     13     // |callback| : Called with a dictionary mapping names to resource strings.
     14     static void getResources(GetResourcesCallback 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