Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebarWithFramesSelector.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebarWithFramesSelector.js b/third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebarWithFramesSelector.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..81ca61cf35800a810acfc773746890647f7acf05 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebarWithFramesSelector.js |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +Resources.ApplicationPanelSidebarWithFramesSelector = class extends UI.VBox { |
|
dgozman
2017/03/24 17:06:54
Let's come up with a shorter name please.
eostroukhov
2017/04/04 23:47:17
Done.
|
| + constructor() { |
| + super(); |
| + |
| + var frameSelector = new Resources.FrameSelector(); |
| + this.contentElement.appendChild(frameSelector.element); |
| + |
| + frameSelector.selectRootFrame(); |
| + } |
| + |
| + /** |
| + * @param {!SDK.Resource} resource |
| + * @param {number=} line |
| + * @param {number=} column |
| + * @return {boolean} |
| + */ |
| + showResource(resource, line, column) { |
| + // TODO (eostroukhov) Waiting till the resource tree is ported. |
| + return true; |
| + } |
| +}; |