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

Side by Side Diff: Source/devtools/front_end/components/InspectorView.js

Issue 1164763004: DevTools: render category filters in a way that they don't clash. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 5 years, 6 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 (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 { 111 {
112 this.addPanel(new WebInspector.RuntimeExtensionPanelDescriptor(exten sion)); 112 this.addPanel(new WebInspector.RuntimeExtensionPanelDescriptor(exten sion));
113 } 113 }
114 WebInspector.endBatchUpdate(); 114 WebInspector.endBatchUpdate();
115 }, 115 },
116 116
117 createToolbars: function() 117 createToolbars: function()
118 { 118 {
119 this._leftToolbar = new WebInspector.ExtensibleToolbar("main-toolbar-lef t"); 119 this._leftToolbar = new WebInspector.ExtensibleToolbar("main-toolbar-lef t");
120 this._leftToolbar.element.classList.add("inspector-view-toolbar", "inspe ctor-view-toolbar-left"); 120 this._leftToolbar.element.classList.add("inspector-view-toolbar", "inspe ctor-view-toolbar-left");
121 this._leftToolbar.makeNarrow(); 121
122 if (!Runtime.experiments.isEnabled("materialDesign"))
123 this._leftToolbar.makeNarrow();
122 this._tabbedPane.insertBeforeTabStrip(this._leftToolbar.element); 124 this._tabbedPane.insertBeforeTabStrip(this._leftToolbar.element);
123 125
124 var rightToolbarContainer = createElementWithClass("div", "hbox flex-non e flex-centered"); 126 var rightToolbarContainer = createElementWithClass("div", "hbox flex-non e flex-centered");
125 this._tabbedPane.appendAfterTabStrip(rightToolbarContainer); 127 this._tabbedPane.appendAfterTabStrip(rightToolbarContainer);
126 128
127 this._rightToolbar = new WebInspector.ExtensibleToolbar("main-toolbar-ri ght"); 129 this._rightToolbar = new WebInspector.ExtensibleToolbar("main-toolbar-ri ght");
128 this._rightToolbar.element.classList.add("inspector-view-toolbar", "flex -none"); 130 this._rightToolbar.element.classList.add("inspector-view-toolbar", "flex -none");
129 rightToolbarContainer.appendChild(this._rightToolbar.element); 131 rightToolbarContainer.appendChild(this._rightToolbar.element);
130 132
131 var closeButtonElement = rightToolbarContainer.createChild("div", "inspe ctor-view-close-button flex-none", "dt-close-button"); 133 var closeButtonElement = rightToolbarContainer.createChild("div", "inspe ctor-view-close-button flex-none", "dt-close-button");
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = { 543 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = {
542 /** 544 /**
543 * @override 545 * @override
544 * @return {?WebInspector.ToolbarItem} 546 * @return {?WebInspector.ToolbarItem}
545 */ 547 */
546 item: function() 548 item: function()
547 { 549 {
548 return WebInspector.inspectorView._drawer.toggleButton(); 550 return WebInspector.inspectorView._drawer.toggleButton();
549 } 551 }
550 } 552 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/ResourceType.js ('k') | Source/devtools/front_end/components/inspectorViewTabbedPane.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698