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

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

Issue 2385933002: DevTools: Make editingCommitted private (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
index 3a9695ca9ee4f2d648d28e6a682b5d01f68e7dcc..e5cc31f1a615e7acbe5e9957878813a968441d21 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -2427,7 +2427,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
this.nameElement.normalize();
this.valueElement.normalize();
- this.editingCommitted(event.target.textContent, context, "forward");
+ this._editingCommitted(event.target.textContent, context, "forward");
}
/**
@@ -2448,7 +2448,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
var text = event.target.textContent;
if (!context.isEditingName)
text = this.value || text;
- this.editingCommitted(text, context, moveDirection);
+ this._editingCommitted(text, context, moveDirection);
}
this._originalPropertyText = this.property.propertyText;
@@ -2512,7 +2512,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
break;
case "forward":
case "backward":
- this.editingCommitted(event.target.textContent, context, result);
+ this._editingCommitted(event.target.textContent, context, result);
break;
}
@@ -2553,7 +2553,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
if (isFieldInputTerminated) {
// Enter or colon (for name)/semicolon outside of string (for value).
event.consume(true);
- this.editingCommitted(event.target.textContent, context, "forward");
+ this._editingCommitted(event.target.textContent, context, "forward");
return;
}
},
@@ -2642,7 +2642,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
* @param {!WebInspector.StylePropertyTreeElement.Context} context
* @param {string} moveDirection
*/
- editingCommitted: function(userInput, context, moveDirection)
+ _editingCommitted: function(userInput, context, moveDirection)
{
this._removePrompt();
this.editingEnded(context);
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698