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

Side by Side Diff: Source/devtools/front_end/ui/Dialog.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
« no previous file with comments | « Source/devtools/front_end/sources/FilteredItemSelectionDialog.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 } 137 }
138 }; 138 };
139 139
140 /** 140 /**
141 * @constructor 141 * @constructor
142 * @extends {WebInspector.Object} 142 * @extends {WebInspector.Object}
143 */ 143 */
144 WebInspector.DialogDelegate = function() 144 WebInspector.DialogDelegate = function()
145 { 145 {
146 /** @type {!Element} */ 146 this.element = createElement("div");
147 this.element;
148 } 147 }
149 148
150 WebInspector.DialogDelegate.prototype = { 149 WebInspector.DialogDelegate.prototype = {
151 /** 150 /**
152 * @param {!Element} element 151 * @param {!Element} element
153 */ 152 */
154 show: function(element) 153 show: function(element)
155 { 154 {
156 element.appendChild(this.element); 155 element.appendChild(this.element);
157 this.element.classList.add("dialog-contents"); 156 this.element.classList.add("dialog-contents");
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 { 205 {
207 return WebInspector.Dialog._modalHostView; 206 return WebInspector.Dialog._modalHostView;
208 }; 207 };
209 208
210 WebInspector.Dialog.modalHostRepositioned = function() 209 WebInspector.Dialog.modalHostRepositioned = function()
211 { 210 {
212 if (WebInspector.Dialog._instance) 211 if (WebInspector.Dialog._instance)
213 WebInspector.Dialog._instance._position(); 212 WebInspector.Dialog._instance._position();
214 }; 213 };
215 214
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/FilteredItemSelectionDialog.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698