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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js

Issue 2859623002: DevTools: Migrate from -webkit-user-modify to contenteditable (Closed)
Patch Set: Add contenteditable on attach Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
index f8dca87cb56cccff4d5b2abc3de5370d944a2861..e80946460c8310b373d38c4d8200f8a365129025 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
@@ -40,7 +40,7 @@ Sources.XHRBreakpointsSidebarPane = class extends Components.BreakpointsSidebarP
var inputElementContainer = createElementWithClass('p', 'breakpoint-condition');
inputElementContainer.textContent = Common.UIString('Break when URL contains:');
- var inputElement = inputElementContainer.createChild('span', 'editing');
+ var inputElement = inputElementContainer.createChild('span');
inputElement.id = 'breakpoint-condition-input';
this.addListElement(inputElementContainer, /** @type {?Element} */ (this.listElement.firstChild));
@@ -141,7 +141,7 @@ Sources.XHRBreakpointsSidebarPane = class extends Components.BreakpointsSidebarP
_labelClicked(url) {
var element = this._breakpointElements.get(url) || null;
- var inputElement = createElementWithClass('span', 'breakpoint-condition editing');
+ var inputElement = createElementWithClass('span', 'breakpoint-condition');
inputElement.textContent = url;
this.listElement.insertBefore(inputElement, element);
element.classList.add('hidden');

Powered by Google App Engine
This is Rietveld 408576698