OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 this._startEditing(this.selectedNode._element.children[0]); | 888 this._startEditing(this.selectedNode._element.children[0]); |
889 } | 889 } |
890 } | 890 } |
891 | 891 |
892 if (nextSelectedNode) { | 892 if (nextSelectedNode) { |
893 nextSelectedNode.reveal(); | 893 nextSelectedNode.reveal(); |
894 nextSelectedNode.select(); | 894 nextSelectedNode.select(); |
895 } | 895 } |
896 | 896 |
897 if (handled) | 897 if (handled) |
898 event.consume(); | 898 event.consume(true); |
899 }, | 899 }, |
900 | 900 |
901 expand: function() | 901 expand: function() |
902 { | 902 { |
903 // This is the root, do nothing. | 903 // This is the root, do nothing. |
904 }, | 904 }, |
905 | 905 |
906 collapse: function() | 906 collapse: function() |
907 { | 907 { |
908 // This is the root, do nothing. | 908 // This is the root, do nothing. |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 | 1642 |
1643 WebInspector.CreationDataGridNode.prototype = { | 1643 WebInspector.CreationDataGridNode.prototype = { |
1644 makeNormal: function() | 1644 makeNormal: function() |
1645 { | 1645 { |
1646 delete this.isCreationNode; | 1646 delete this.isCreationNode; |
1647 delete this.makeNormal; | 1647 delete this.makeNormal; |
1648 } | 1648 } |
1649 } | 1649 } |
1650 | 1650 |
1651 WebInspector.CreationDataGridNode.prototype.__proto__ = WebInspector.DataGridNod
e.prototype; | 1651 WebInspector.CreationDataGridNode.prototype.__proto__ = WebInspector.DataGridNod
e.prototype; |
OLD | NEW |