| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 [nodoc] namespace experimental.notification { | 5 [nodoc] namespace experimental.notification { |
| 6 dictionary ShowOptions { | 6 dictionary ShowOptions { |
| 7 DOMString text; | 7 DOMString iconUrl; |
| 8 DOMString title; |
| 9 DOMString message; |
| 10 DOMString replaceId; |
| 8 | 11 |
| 9 // Used for internal event routing. Do not set or rely on its value. | 12 // Used for internal event routing. Do not set or rely on its value. |
| 10 [nodoc] long? srcId; | 13 [nodoc] long? srcId; |
| 11 }; | 14 }; |
| 12 | 15 |
| 13 dictionary ShowInfo { | 16 dictionary ShowInfo { |
| 17 boolean result; |
| 14 }; | 18 }; |
| 15 | 19 |
| 16 callback ShowCallback = void (ShowInfo showInfo); | 20 callback ShowCallback = void (ShowInfo showInfo); |
| 17 | 21 |
| 18 interface Functions { | 22 interface Functions { |
| 19 static void show(ShowOptions options, ShowCallback callback); | 23 static void show(ShowOptions options, ShowCallback callback); |
| 20 }; | 24 }; |
| 21 | 25 |
| 22 }; | 26 }; |
| OLD | NEW |