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

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

Issue 298333003: DevTools: Implement console message logging through an extension (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove duplicate logging Created 6 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 * @param {!WebInspector.Target} target 976 * @param {!WebInspector.Target} target
977 * @param {?WebInspector.RemoteObject} result 977 * @param {?WebInspector.RemoteObject} result
978 */ 978 */
979 function failedToSave(target, result) 979 function failedToSave(target, result)
980 { 980 {
981 var message = WebInspector.UIString("Failed to save to temp variable ."); 981 var message = WebInspector.UIString("Failed to save to temp variable .");
982 if (result) { 982 if (result) {
983 message += " " + result.description; 983 message += " " + result.description;
984 result.release(); 984 result.release();
985 } 985 }
986 target.consoleModel.showErrorMessage(message) 986 target.consoleModel.showErrorMessage(message);
987 } 987 }
988 }, 988 },
989 989
990 /** 990 /**
991 * @param {!WebInspector.RemoteObject} remoteObject 991 * @param {!WebInspector.RemoteObject} remoteObject
992 */ 992 */
993 _showFunctionDefinition: function(remoteObject) 993 _showFunctionDefinition: function(remoteObject)
994 { 994 {
995 /** 995 /**
996 * @param {?Protocol.Error} error 996 * @param {?Protocol.Error} error
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 var disabled = forbidden || (status === "disabled"); 1386 var disabled = forbidden || (status === "disabled");
1387 1387
1388 this._disableJSInfo.classList.toggle("hidden", !forbidden); 1388 this._disableJSInfo.classList.toggle("hidden", !forbidden);
1389 this._disableJSCheckbox.checked = disabled; 1389 this._disableJSCheckbox.checked = disabled;
1390 this._disableJSCheckbox.disabled = forbidden; 1390 this._disableJSCheckbox.disabled = forbidden;
1391 } 1391 }
1392 }, 1392 },
1393 1393
1394 __proto__: WebInspector.UISettingDelegate.prototype 1394 __proto__: WebInspector.UISettingDelegate.prototype
1395 } 1395 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/TimelineManager.js ('k') | Source/devtools/front_end/sources/UISourceCodeFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698