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

Unified Diff: Source/devtools/front_end/ui/UIUtils.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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
« no previous file with comments | « Source/devtools/front_end/ui/Toolbar.js ('k') | Source/devtools/front_end/ui/View.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/UIUtils.js
diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js
index 7efda350f98c2a2a1068603ef05954dac0212f5c..1ca572b7b1038fc2998e3a6c22d8746826cfcc81 100644
--- a/Source/devtools/front_end/ui/UIUtils.js
+++ b/Source/devtools/front_end/ui/UIUtils.js
@@ -197,7 +197,7 @@ WebInspector.GlassPane.prototype = {
}
/**
- * @type {!Array.<!WebInspector.View|!WebInspector.Dialog>}
+ * @type {!Array.<!WebInspector.Widget|!WebInspector.Dialog>}
*/
WebInspector.GlassPane.DefaultFocusedViewStack = [];
@@ -1277,7 +1277,7 @@ function createCheckboxLabel(title, checked)
{
this.type = "button";
var root = this.createShadowRoot();
- root.appendChild(WebInspector.View.createStyleElement("ui/textButton.css"));
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/textButton.css"));
root.createChild("content");
},
@@ -1294,7 +1294,7 @@ function createCheckboxLabel(title, checked)
this.radioElement.type = "radio";
var root = this.createShadowRoot();
- root.appendChild(WebInspector.View.createStyleElement("ui/radioButton.css"));
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/radioButton.css"));
root.createChild("content").select = ".dt-radio-button";
root.createChild("content");
this.addEventListener("click", radioClickHandler, false);
@@ -1323,7 +1323,7 @@ function createCheckboxLabel(title, checked)
createdCallback: function()
{
var root = this.createShadowRoot();
- root.appendChild(WebInspector.View.createStyleElement("ui/checkboxTextLabel.css"));
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/checkboxTextLabel.css"));
this.checkboxElement = this.createChild("input", "dt-checkbox-button");
this.checkboxElement.type = "checkbox";
root.createChild("content").select = ".dt-checkbox-button";
@@ -1340,7 +1340,7 @@ function createCheckboxLabel(title, checked)
createdCallback: function()
{
var root = this.createShadowRoot();
- root.appendChild(WebInspector.View.createStyleElement("ui/smallIcon.css"));
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/smallIcon.css"));
this._iconElement = root.createChild("div");
root.createChild("content");
},
@@ -1364,7 +1364,7 @@ function createCheckboxLabel(title, checked)
createdCallback: function()
{
var root = this.createShadowRoot();
- root.appendChild(WebInspector.View.createStyleElement("ui/closeButton.css"));
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/closeButton.css"));
this._buttonElement = root.createChild("div", "close-button");
},
« no previous file with comments | « Source/devtools/front_end/ui/Toolbar.js ('k') | Source/devtools/front_end/ui/View.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698