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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 | « Source/devtools/front_end/Tests.js ('k') | Source/devtools/front_end/inspector.html » ('j') | 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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 /** 91 /**
92 * @param {!string} name 92 * @param {!string} name
93 * @return {boolean} 93 * @return {boolean}
94 */ 94 */
95 _isDefaultPanel: function(name) 95 _isDefaultPanel: function(name)
96 { 96 {
97 var defaultPanels = { 97 var defaultPanels = {
98 "elements": true, 98 "elements": true,
99 "resources": true, 99 "resources": true,
100 "scripts": true, 100 "sources": true,
101 "console": true, 101 "console": true,
102 "network": true, 102 "network": true,
103 "timeline": true, 103 "timeline": true,
104 }; 104 };
105 return !!defaultPanels[name]; 105 return !!defaultPanels[name];
106 }, 106 },
107 107
108 /** 108 /**
109 * @param {!string} name 109 * @param {!string} name
110 * @return {boolean} 110 * @return {boolean}
111 */ 111 */
112 _isPanelVisibleByDefault: function(name) 112 _isPanelVisibleByDefault: function(name)
113 { 113 {
114 var visible = { 114 var visible = {
115 "elements": true, 115 "elements": true,
116 "console": true, 116 "console": true,
117 "network": true, 117 "network": true,
118 "scripts": true, 118 "sources": true,
119 "timeline": true, 119 "timeline": true,
120 "profiles": true, 120 "profiles": true,
121 "cpu-profiler": true, 121 "cpu-profiler": true,
122 "heap-profiler": true, 122 "heap-profiler": true,
123 "audits": true, 123 "audits": true,
124 "resources": true, 124 "resources": true,
125 }; 125 };
126 return !!visible[name]; 126 return !!visible[name];
127 }, 127 },
128 128
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 return; 508 return;
509 event.consume(); 509 event.consume();
510 this.hide(); 510 this.hide();
511 } 511 }
512 } 512 }
513 513
514 /** 514 /**
515 * @type {?WebInspector.Toolbar} 515 * @type {?WebInspector.Toolbar}
516 */ 516 */
517 WebInspector.toolbar = null; 517 WebInspector.toolbar = null;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Tests.js ('k') | Source/devtools/front_end/inspector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698