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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js

Issue 1956703004: [DevTools] roll closure compiler to ToT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui_lazy/OverviewGrid.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.VBox} 7 * @extends {WebInspector.VBox}
8 */ 8 */
9 WebInspector.DeviceModeView = function() 9 WebInspector.DeviceModeView = function()
10 { 10 {
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 this._toolbar.update(); 284 this._toolbar.update();
285 this._loadImage(this._screenImage, this._model.screenImage()); 285 this._loadImage(this._screenImage, this._model.screenImage());
286 this._loadImage(this._outlineImage, this._model.outlineImage()); 286 this._loadImage(this._outlineImage, this._model.outlineImage());
287 this._mediaInspector.setAxisTransform(this._model.scale()); 287 this._mediaInspector.setAxisTransform(this._model.scale());
288 if (callDoResize) 288 if (callDoResize)
289 this.doResize(); 289 this.doResize();
290 if (updateRulers) { 290 if (updateRulers) {
291 this._topRuler.render(this._cachedCssScreenRect ? this._cachedCssScr eenRect.left : 0, this._model.scale()); 291 this._topRuler.render(this._cachedCssScreenRect ? this._cachedCssScr eenRect.left : 0, this._model.scale());
292 this._leftRuler.render(0, this._model.scale()); 292 this._leftRuler.render(0, this._model.scale());
293 this._topRuler.element.style.top = this._cachedCssScreenRect ? this. _cachedCssScreenRect.top + "px" : 0; 293 this._topRuler.element.style.top = this._cachedCssScreenRect ? this. _cachedCssScreenRect.top + "px" : "0";
294 this._leftRuler.element.style.top = this._cachedCssScreenRect ? this ._cachedCssScreenRect.top + "px" : 0; 294 this._leftRuler.element.style.top = this._cachedCssScreenRect ? this ._cachedCssScreenRect.top + "px" : "0";
295 } 295 }
296 if (contentAreaResized) 296 if (contentAreaResized)
297 this._contentAreaResized(); 297 this._contentAreaResized();
298 }, 298 },
299 299
300 /** 300 /**
301 * @param {!Element} element 301 * @param {!Element} element
302 * @param {string} srcset 302 * @param {string} srcset
303 */ 303 */
304 _loadImage: function(element, srcset) 304 _loadImage: function(element, srcset)
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 /** 564 /**
565 * @param {number} size 565 * @param {number} size
566 */ 566 */
567 _onMarkerClick: function(size) 567 _onMarkerClick: function(size)
568 { 568 {
569 this._applyCallback.call(null, size); 569 this._applyCallback.call(null, size);
570 }, 570 },
571 571
572 __proto__: WebInspector.VBox.prototype 572 __proto__: WebInspector.VBox.prototype
573 } 573 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui_lazy/OverviewGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698