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

Side by Side Diff: Source/devtools/front_end/settings/FrameworkBlackboxDialog.js

Issue 1097163004: DevTools: zoom frames upon double click, iterate over frames using arrows. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rolled back a tiny bit to make bots happy 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {WebInspector.DialogDelegate} 9 * @extends {WebInspector.DialogDelegate}
10 */ 10 */
11 WebInspector.FrameworkBlackboxDialog = function() 11 WebInspector.FrameworkBlackboxDialog = function()
12 { 12 {
13 WebInspector.DialogDelegate.call(this); 13 WebInspector.DialogDelegate.call(this);
14 14 this.element.classList.add("blackbox-dialog", "dialog-contents");
15 this.element = createElementWithClass("div", "blackbox-dialog dialog-content s");
16 15
17 var header = this.element.createChild("div", "header"); 16 var header = this.element.createChild("div", "header");
18 header.createChild("span").textContent = WebInspector.UIString("Framework bl ackbox patterns"); 17 header.createChild("span").textContent = WebInspector.UIString("Framework bl ackbox patterns");
19 18
20 var closeButton = header.createChild("div", "done-button", "dt-close-button" ); 19 var closeButton = header.createChild("div", "done-button", "dt-close-button" );
21 closeButton.gray = true; 20 closeButton.gray = true;
22 closeButton.addEventListener("click", this._onDoneClick.bind(this), false); 21 closeButton.addEventListener("click", this._onDoneClick.bind(this), false);
23 22
24 var contents = this.element.createChild("div", "contents"); 23 var contents = this.element.createChild("div", "contents");
25 24
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 var nodeName = focusElement && focusElement.nodeName.toLowerCase(); 231 var nodeName = focusElement && focusElement.nodeName.toLowerCase();
233 if (nodeName === "input" || nodeName === "select") { 232 if (nodeName === "input" || nodeName === "select") {
234 this.focus(); 233 this.focus();
235 event.consume(true); 234 event.consume(true);
236 return; 235 return;
237 } 236 }
238 }, 237 },
239 238
240 __proto__: WebInspector.DialogDelegate.prototype 239 __proto__: WebInspector.DialogDelegate.prototype
241 } 240 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/settings/EditFileSystemDialog.js ('k') | Source/devtools/front_end/source_frame/GoToLineDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698