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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 2424453003: DevTools: [SSP] fix hoverable selectors (Closed)
Patch Set: Created 4 years, 2 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
« 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 this._selectorContainer = selectorContainer; 672 this._selectorContainer = selectorContainer;
673 673
674 if (this.navigable) 674 if (this.navigable)
675 this.element.classList.add("navigable"); 675 this.element.classList.add("navigable");
676 676
677 if (!this.editable) { 677 if (!this.editable) {
678 this.element.classList.add("read-only"); 678 this.element.classList.add("read-only");
679 this.propertiesTreeOutline.element.classList.add("read-only"); 679 this.propertiesTreeOutline.element.classList.add("read-only");
680 } 680 }
681 681
682 this._hoverableSelectorsMode = false;
682 this._markSelectorMatches(); 683 this._markSelectorMatches();
683 this.onpopulate(); 684 this.onpopulate();
684 } 685 }
685 686
686 WebInspector.StylePropertiesSection.prototype = { 687 WebInspector.StylePropertiesSection.prototype = {
687 /** 688 /**
688 * @param {boolean} isHovered 689 * @param {boolean} isHovered
689 */ 690 */
690 _setSectionHovered: function(isHovered) 691 _setSectionHovered: function(isHovered)
691 { 692 {
(...skipping 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after
3186 3187
3187 /** 3188 /**
3188 * @override 3189 * @override
3189 * @return {!WebInspector.ToolbarItem} 3190 * @return {!WebInspector.ToolbarItem}
3190 */ 3191 */
3191 item: function() 3192 item: function()
3192 { 3193 {
3193 return this._button; 3194 return this._button;
3194 } 3195 }
3195 } 3196 }
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