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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/FrameMenuSidebar.js

Issue 2773583002: [DevTools] Introduce a sidebar with a drop-down
Patch Set: [DevTools] Introduce a sidebar with a drop-down Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 Resources.FrameMenuSidebar = class extends UI.VBox {
6 constructor() {
7 super();
caseq 2017/05/26 22:20:19 Make it shadow, i.e. super(true)?
8
9 this.registerRequiredCSS('resources/frameMenuSidebar.css');
10
11 this._frameMenu = new Resources.FrameMenu();
12 this.contentElement.appendChild(this._frameMenu.element());
13 this._frameMenu.selectRootFrame();
14 }
15
16 /**
17 * @param {!SDK.Resource} resource
18 * @param {number=} line
19 * @param {number=} column
20 * @return {boolean}
21 */
22 showResource(resource, line, column) {
23 // TODO (eostroukhov) Waiting till the resource tree is ported.
24 return true;
25 }
26 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698