OLD | NEW |
(Empty) | |
| 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 namespace identityPrivate { |
| 6 |
| 7 callback GetResourcesCallback = void (object result); |
| 8 |
| 9 interface Functions { |
| 10 // Gets resources required to render the API. |
| 11 // |
| 12 // |callback| : Called with a dictionary mapping names to resource strings. |
| 13 static void getResources(GetResourcesCallback callback); |
| 14 }; |
| 15 |
| 16 interface Events { |
| 17 // Fired when a web flow dialog should be displayed. |
| 18 static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode); |
| 19 }; |
| 20 }; |
OLD | NEW |