Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 695323004: DevTools: Add super.handleShortcut call to ElementsPanel.handleShortcut() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 if (!treeOutline) 721 if (!treeOutline)
722 return; 722 return;
723 723
724 if (!treeOutline.editing()) { 724 if (!treeOutline.editing()) {
725 handleUndoRedo.call(this, treeOutline); 725 handleUndoRedo.call(this, treeOutline);
726 if (event.handled) 726 if (event.handled)
727 return; 727 return;
728 } 728 }
729 729
730 treeOutline.handleShortcut(event); 730 treeOutline.handleShortcut(event);
731 if (event.handled)
732 return;
733
734 WebInspector.Panel.prototype.handleShortcut.call(this, event);
731 }, 735 },
732 736
733 /** 737 /**
734 * @param {?WebInspector.DOMNode} node 738 * @param {?WebInspector.DOMNode} node
735 * @return {?WebInspector.ElementsTreeOutline} 739 * @return {?WebInspector.ElementsTreeOutline}
736 */ 740 */
737 _treeOutlineForNode: function(node) 741 _treeOutlineForNode: function(node)
738 { 742 {
739 if (!node) 743 if (!node)
740 return null; 744 return null;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 1103
1100 WebInspector.ElementsPanelFactory.prototype = { 1104 WebInspector.ElementsPanelFactory.prototype = {
1101 /** 1105 /**
1102 * @return {!WebInspector.Panel} 1106 * @return {!WebInspector.Panel}
1103 */ 1107 */
1104 createPanel: function() 1108 createPanel: function()
1105 { 1109 {
1106 return WebInspector.ElementsPanel.instance(); 1110 return WebInspector.ElementsPanel.instance();
1107 } 1111 }
1108 } 1112 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698