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

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

Issue 1169323004: DevTools: do not respect Chrome theme in DevTools, align toolbar items. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: overflow for tab header fixed. 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 // 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 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI ---------------------------------------------------------------- 7 // DevToolsAPI ----------------------------------------------------------------
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 setInspectedTabId: function(tabId) 238 setInspectedTabId: function(tabId)
239 { 239 {
240 // Support for legacy front-ends (<M41). 240 // Support for legacy front-ends (<M41).
241 if (window["WebInspector"].setInspectedTabId) 241 if (window["WebInspector"].setInspectedTabId)
242 window["WebInspector"].setInspectedTabId(tabId); 242 window["WebInspector"].setInspectedTabId(tabId);
243 else 243 else
244 this._dispatchOnInspectorFrontendAPI("setInspectedTabId", [tabId]); 244 this._dispatchOnInspectorFrontendAPI("setInspectedTabId", [tabId]);
245 }, 245 },
246 246
247 /** 247 /**
248 * @param {string} backgroundColor
249 * @param {string} color
250 */
251 setToolbarColors: function(backgroundColor, color)
252 {
253 this._dispatchOnInspectorFrontendAPI("setToolbarColors", [backgroundColo r, color]);
254 },
255
256 /**
257 * @param {boolean} useSoftMenu 248 * @param {boolean} useSoftMenu
258 */ 249 */
259 setUseSoftMenu: function(useSoftMenu) 250 setUseSoftMenu: function(useSoftMenu)
260 { 251 {
261 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]); 252 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]);
262 }, 253 },
263 254
264 showConsole: function() 255 showConsole: function()
265 { 256 {
266 this._dispatchOnInspectorFrontendAPI("showConsole", []); 257 this._dispatchOnInspectorFrontendAPI("showConsole", []);
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 uiTests.testSuiteReady = function(testSuiteConstructor, testBase) 843 uiTests.testSuiteReady = function(testSuiteConstructor, testBase)
853 { 844 {
854 uiTests._testSuite = testSuiteConstructor(window.domAutomationController ); 845 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
855 uiTests._tryRun(); 846 uiTests._tryRun();
856 }; 847 };
857 848
858 window.uiTests = uiTests; 849 window.uiTests = uiTests;
859 } 850 }
860 851
861 })(window); 852 })(window);
OLDNEW
« no previous file with comments | « Source/devtools/front_end/components/inspectorViewTabbedPane.css ('k') | Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698