| Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| index fcd42dc4187eebe04174ac8b83345d4136bb6aeb..ea103d27f82c2ee11de5e20ba159bd1668148573 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| @@ -639,6 +639,29 @@ Main.Main.WarningErrorCounter = class {
|
| /**
|
| * @implements {UI.ToolbarItem.Provider}
|
| */
|
| +Main.Main.NodeConnectionLink = class {
|
| + constructor() {
|
| + this._link = createElementWithClass('span', 'link');
|
| + this._link.addEventListener('click', () => {
|
| + UI.viewManager.showView('remote-devices');
|
| + }, false);
|
| + this._link.textContent = Common.UIString('Connect');
|
| + this._link.style.padding = '0 5px';
|
| + this._toolbarItem = new UI.ToolbarItem(this._link);
|
| + }
|
| +
|
| + /**
|
| + * @override
|
| + * @return {?UI.ToolbarItem}
|
| + */
|
| + item() {
|
| + return this._toolbarItem;
|
| + }
|
| +};
|
| +
|
| +/**
|
| + * @implements {UI.ToolbarItem.Provider}
|
| + */
|
| Main.Main.MainMenuItem = class {
|
| constructor() {
|
| this._item = new UI.ToolbarMenuButton(this._handleContextMenu.bind(this), true);
|
|
|