| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This comment is for the events namespace. |
| 5 namespace events { | 6 namespace events { |
| 6 dictionary EventArgumentElement { | 7 dictionary EventArgumentElement { |
| 7 DOMString elementStringArg; | 8 DOMString elementStringArg; |
| 8 }; | 9 }; |
| 9 | 10 |
| 10 dictionary EventArgument { | 11 dictionary EventArgument { |
| 11 // A file entry | 12 // A file entry |
| 12 [instanceOf=FileEntry] object entryArg; | 13 [instanceOf=FileEntry] object entryArg; |
| 13 | 14 |
| 14 // A string | 15 // A string |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Documentation for an event with an optional primitive argument. | 47 // Documentation for an event with an optional primitive argument. |
| 47 static void optionalPrimitiveArgEvent(optional int argument); | 48 static void optionalPrimitiveArgEvent(optional int argument); |
| 48 | 49 |
| 49 // Documentation for an event with a non-optional dictionary argument. | 50 // Documentation for an event with a non-optional dictionary argument. |
| 50 static void nonOptionalDictArgEvent(EventArgument argument); | 51 static void nonOptionalDictArgEvent(EventArgument argument); |
| 51 | 52 |
| 52 // Documentation for an event with a optional dictionary argument. | 53 // Documentation for an event with a optional dictionary argument. |
| 53 static void optionalDictArgEvent(EventArgument argument); | 54 static void optionalDictArgEvent(EventArgument argument); |
| 54 }; | 55 }; |
| 55 }; | 56 }; |
| OLD | NEW |