| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 Conditional=UNDO_MANAGER, | 34 Conditional=UNDO_MANAGER, |
| 35 V8GenerateIsReachable=ImplOwnerNodeRoot | 35 V8GenerateIsReachable=ImplOwnerNodeRoot |
| 36 ] UndoManager { | 36 ] UndoManager { |
| 37 [Custom] void transact(in Dictionary transaction, in boolean merge); | 37 [Custom] void transact(in Dictionary transaction, in boolean merge); |
| 38 | 38 |
| 39 void undo() | 39 void undo() |
| 40 raises(DOMException); | 40 raises(DOMException); |
| 41 void redo() | 41 void redo() |
| 42 raises(DOMException); | 42 raises(DOMException); |
| 43 | 43 |
| 44 [Custom] sequence<DOMTransaction> item(in unsigned long index); |
| 45 |
| 44 readonly attribute unsigned long length; | 46 readonly attribute unsigned long length; |
| 45 readonly attribute unsigned long position; | 47 readonly attribute unsigned long position; |
| 46 | 48 |
| 47 void clearUndo() | 49 void clearUndo() |
| 48 raises(DOMException); | 50 raises(DOMException); |
| 49 void clearRedo() | 51 void clearRedo() |
| 50 raises(DOMException); | 52 raises(DOMException); |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } | 55 } |
| OLD | NEW |