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

Side by Side Diff: Source/devtools/front_end/sources/AddSourceMapURLDialog.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: 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.DialogDelegate} 7 * @extends {WebInspector.DialogDelegate}
8 * @param {function(string)} callback 8 * @param {function(string)} callback
9 */ 9 */
10 WebInspector.AddSourceMapURLDialog = function(callback) 10 WebInspector.AddSourceMapURLDialog = function(callback)
11 { 11 {
12 WebInspector.DialogDelegate.call(this); 12 WebInspector.DialogDelegate.call(this, createElementWithClass("div", "go-to- line-dialog"));
13 13
14 this.element = createElementWithClass("div", "go-to-line-dialog");
15 this.element.createChild("label").textContent = WebInspector.UIString("Sourc e map URL: "); 14 this.element.createChild("label").textContent = WebInspector.UIString("Sourc e map URL: ");
16 15
17 this._input = this.element.createChild("input"); 16 this._input = this.element.createChild("input");
18 this._input.setAttribute("type", "text"); 17 this._input.setAttribute("type", "text");
19 18
20 this._goButton = this.element.createChild("button"); 19 this._goButton = this.element.createChild("button");
21 this._goButton.textContent = WebInspector.UIString("Go"); 20 this._goButton.textContent = WebInspector.UIString("Go");
22 this._goButton.addEventListener("click", this._onGoClick.bind(this), false); 21 this._goButton.addEventListener("click", this._onGoClick.bind(this), false);
23 22
24 this._callback = callback; 23 this._callback = callback;
(...skipping 27 matching lines...) Expand all
52 this._callback(value); 51 this._callback(value);
53 }, 52 },
54 53
55 onEnter: function() 54 onEnter: function()
56 { 55 {
57 this._apply(); 56 this._apply();
58 }, 57 },
59 58
60 __proto__: WebInspector.DialogDelegate.prototype 59 __proto__: WebInspector.DialogDelegate.prototype
61 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698