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

Unified Diff: Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/host/InspectorFrontendHost.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHost.js b/Source/devtools/front_end/host/InspectorFrontendHost.js
index faa6f313493df188c0bc797d91890ecd7d413826..e49c5bbcd22ec81a0eaffe65738dde40b769e311 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -400,7 +400,7 @@ WebInspector.InspectorFrontendHostStub.prototype = {
*/
copyText: function(text)
{
- WebInspector.console.addErrorMessage("Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect", true);
+ WebInspector.console.error("Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect");
},
/**
@@ -418,7 +418,7 @@ WebInspector.InspectorFrontendHostStub.prototype = {
*/
save: function(url, content, forceSaveAs)
{
- WebInspector.console.addErrorMessage("Saving files is not enabled in hosted mode. Please inspect using chrome://inspect", true);
+ WebInspector.console.error("Saving files is not enabled in hosted mode. Please inspect using chrome://inspect");
this.events.dispatchEventToListeners(InspectorFrontendHostAPI.Events.CanceledSaveURL, url);
},
@@ -428,7 +428,7 @@ WebInspector.InspectorFrontendHostStub.prototype = {
*/
append: function(url, content)
{
- WebInspector.console.addErrorMessage("Saving files is not enabled in hosted mode. Please inspect using chrome://inspect", true);
+ WebInspector.console.error("Saving files is not enabled in hosted mode. Please inspect using chrome://inspect");
},
/**
« no previous file with comments | « Source/devtools/front_end/extensions/ExtensionServer.js ('k') | Source/devtools/front_end/layers/LayersPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698