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

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

Issue 1304173004: Devtools UI: Add node-specific actions into a ghost toolbar in DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase; remove material breadcrumb from experiment Created 5 years, 3 months 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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 /** @typedef {{node: !WebInspector.DOMNode, isCut: boolean}} */ 87 /** @typedef {{node: !WebInspector.DOMNode, isCut: boolean}} */
88 WebInspector.ElementsTreeOutline.ClipboardData; 88 WebInspector.ElementsTreeOutline.ClipboardData;
89 89
90 /** 90 /**
91 * @enum {string} 91 * @enum {string}
92 */ 92 */
93 WebInspector.ElementsTreeOutline.Events = { 93 WebInspector.ElementsTreeOutline.Events = {
94 NodePicked: "NodePicked", 94 NodePicked: "NodePicked",
95 SelectedNodeChanged: "SelectedNodeChanged", 95 SelectedNodeChanged: "SelectedNodeChanged",
96 ElementsTreeUpdated: "ElementsTreeUpdated" 96 ElementsTreeUpdated: "ElementsTreeUpdated",
97 DecorationsClicked: "DecorationsClicked"
97 } 98 }
98 99
99 /** 100 /**
100 * @const 101 * @const
101 * @type {!Object.<string, string>} 102 * @type {!Object.<string, string>}
102 */ 103 */
103 WebInspector.ElementsTreeOutline.MappedCharToEntity = { 104 WebInspector.ElementsTreeOutline.MappedCharToEntity = {
104 "\u00a0": "nbsp", 105 "\u00a0": "nbsp",
105 "\u0093": "#147", // <control> 106 "\u0093": "#147", // <control>
106 "\u00ad": "shy", 107 "\u00ad": "shy",
(...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 if (node) { 1823 if (node) {
1823 this.treeOutline._selectedDOMNode = node; 1824 this.treeOutline._selectedDOMNode = node;
1824 this.treeOutline._selectedNodeChanged(); 1825 this.treeOutline._selectedNodeChanged();
1825 } 1826 }
1826 } 1827 }
1827 return true; 1828 return true;
1828 }, 1829 },
1829 1830
1830 __proto__: TreeElement.prototype 1831 __proto__: TreeElement.prototype
1831 } 1832 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/ElementsTreeElement.js ('k') | Source/devtools/front_end/elements/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698