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

Side by Side Diff: Source/WebCore/inspector/front-end/StylesSidebarPane.js

Issue 13568005: Merge 147088 "Web Inspector: Fixed property text indentation in ..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 8 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 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 updateTitle: function() 2138 updateTitle: function()
2139 { 2139 {
2140 WebInspector.StylePropertyTreeElementBase.prototype.updateTitle.call(thi s); 2140 WebInspector.StylePropertyTreeElementBase.prototype.updateTitle.call(thi s);
2141 2141
2142 if (this.parsedOk && this.section() && this.parent.root) { 2142 if (this.parsedOk && this.section() && this.parent.root) {
2143 var enabledCheckboxElement = document.createElement("input"); 2143 var enabledCheckboxElement = document.createElement("input");
2144 enabledCheckboxElement.className = "enabled-button"; 2144 enabledCheckboxElement.className = "enabled-button";
2145 enabledCheckboxElement.type = "checkbox"; 2145 enabledCheckboxElement.type = "checkbox";
2146 enabledCheckboxElement.checked = !this.disabled; 2146 enabledCheckboxElement.checked = !this.disabled;
2147 enabledCheckboxElement.addEventListener("click", this.toggleEnabled. bind(this), false); 2147 enabledCheckboxElement.addEventListener("click", this.toggleEnabled. bind(this), false);
2148 this.listItemElement.appendChild(enabledCheckboxElement); 2148 this.listItemElement.insertBefore(enabledCheckboxElement, this.listI temElement.firstChild);
2149 } 2149 }
2150 }, 2150 },
2151 2151
2152 _mouseClick: function(event) 2152 _mouseClick: function(event)
2153 { 2153 {
2154 if (!window.getSelection().isCollapsed) 2154 if (!window.getSelection().isCollapsed)
2155 return; 2155 return;
2156 2156
2157 event.consume(true); 2157 event.consume(true);
2158 2158
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 if (!prefix && !force) 2733 if (!prefix && !force)
2734 return; 2734 return;
2735 2735
2736 var results = this._cssCompletions.startsWith(prefix); 2736 var results = this._cssCompletions.startsWith(prefix);
2737 var selectedIndex = this._cssCompletions.mostUsedOf(results); 2737 var selectedIndex = this._cssCompletions.mostUsedOf(results);
2738 completionsReadyCallback(results, selectedIndex); 2738 completionsReadyCallback(results, selectedIndex);
2739 }, 2739 },
2740 2740
2741 __proto__: WebInspector.TextPrompt.prototype 2741 __proto__: WebInspector.TextPrompt.prototype
2742 } 2742 }
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