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

Side by Side Diff: Source/devtools/front_end/toolbox/ResponsiveDesignView.js

Issue 363973002: DevTools: bake generic css files into the concatenated one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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.VBox} 7 * @extends {WebInspector.VBox}
8 * @implements {WebInspector.OverridesSupport.PageResizer} 8 * @implements {WebInspector.OverridesSupport.PageResizer}
9 * @param {!WebInspector.InspectedPagePlaceholder} inspectedPagePlaceholder 9 * @param {!WebInspector.InspectedPagePlaceholder} inspectedPagePlaceholder
10 */ 10 */
11 WebInspector.ResponsiveDesignView = function(inspectedPagePlaceholder) 11 WebInspector.ResponsiveDesignView = function(inspectedPagePlaceholder)
12 { 12 {
13 WebInspector.VBox.call(this); 13 WebInspector.VBox.call(this);
14 this.setMinimumSize(150, 150); 14 this.setMinimumSize(150, 150);
15 this.registerRequiredCSS("responsiveDesignView.css");
16 this.element.classList.add("overflow-hidden"); 15 this.element.classList.add("overflow-hidden");
17 16
18 this._responsiveDesignContainer = new WebInspector.VBox(); 17 this._responsiveDesignContainer = new WebInspector.VBox();
18 this._responsiveDesignContainer.registerRequiredCSS("responsiveDesignView.cs s");
lushnikov 2014/07/03 08:09:53 What difference does this change make?
19 19
20 this._createToolbar(); 20 this._createToolbar();
21 21
22 this._mediaInspector = new WebInspector.MediaQueryInspector(); 22 this._mediaInspector = new WebInspector.MediaQueryInspector();
23 this._mediaInspectorContainer = this._responsiveDesignContainer.element.crea teChild("div", "responsive-design-media-container"); 23 this._mediaInspectorContainer = this._responsiveDesignContainer.element.crea teChild("div", "responsive-design-media-container");
24 this._updateMediaQueryInspector(); 24 this._updateMediaQueryInspector();
25 25
26 this._canvasContainer = new WebInspector.View(); 26 this._canvasContainer = new WebInspector.View();
27 this._canvasContainer.element.classList.add("responsive-design"); 27 this._canvasContainer.element.classList.add("responsive-design");
28 this._canvasContainer.show(this._responsiveDesignContainer.element); 28 this._canvasContainer.show(this._responsiveDesignContainer.element);
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 * @param {!WebInspector.Throttler.FinishCallback} finishCallback 603 * @param {!WebInspector.Throttler.FinishCallback} finishCallback
604 */ 604 */
605 _updateUIThrottled: function(finishCallback) 605 _updateUIThrottled: function(finishCallback)
606 { 606 {
607 this._updateUI(); 607 this._updateUI();
608 finishCallback(); 608 finishCallback();
609 }, 609 },
610 610
611 __proto__: WebInspector.VBox.prototype 611 __proto__: WebInspector.VBox.prototype
612 }; 612 };
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698