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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Widget.js

Issue 2205123003: DevTools: introduce view locations, allow opening views by id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 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/ui/Widget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
index efa3b30d53b632838098145e2766ad746552e3c6..5be80345742fa677a0d50430a8de4c418344bbf1 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
@@ -711,48 +711,6 @@ WebInspector.VBoxWithResizeCallback.prototype = {
}
/**
- * @constructor
- * @extends {WebInspector.VBox}
- * @param {string} title
- * @param {boolean=} isWebComponent
- */
-WebInspector.View = function(title, isWebComponent)
-{
- WebInspector.VBox.call(this, isWebComponent);
- this._title = title;
- /** @type {!Array<!WebInspector.ToolbarItem>} */
- this._toolbarItems = [];
-}
-
-WebInspector.View.prototype = {
- /**
- * @return {string}
- */
- title: function()
- {
- return this._title;
- },
-
- /**
- * @param {!WebInspector.ToolbarItem} item
- */
- addToolbarItem: function(item)
- {
- this._toolbarItems.push(item);
- },
-
- /**
- * @return {!Array<!WebInspector.ToolbarItem>}
- */
- toolbarItems: function()
- {
- return this._toolbarItems;
- },
-
- __proto__: WebInspector.VBox.prototype
-}
-
-/**
* @override
* @param {?Node} child
* @return {?Node}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/View.js ('k') | third_party/WebKit/Source/devtools/front_end/ui/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698