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

Side by Side Diff: Source/core/inspector/InjectedScript.h

Issue 967493002: DevTools: remove setLastEvaluationResult from the protocol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 5 years, 9 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr ames(const ScriptValue&, int asyncOrdinal); 95 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr ames(const ScriptValue&, int asyncOrdinal);
96 96
97 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue& , const String& groupName, bool generatePreview = false) const; 97 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue& , const String& groupName, bool generatePreview = false) const;
98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue& table, const ScriptValue& columns) const; 98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue& table, const ScriptValue& columns) const;
99 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String& groupName); 99 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String& groupName);
100 ScriptValue findObjectById(const String& objectId) const; 100 ScriptValue findObjectById(const String& objectId) const;
101 101
102 void inspectNode(Node*); 102 void inspectNode(Node*);
103 void releaseObjectGroup(const String&); 103 void releaseObjectGroup(const String&);
104 104
105 void setLastEvaluationResult(const String& objectId);
106 void setCustomObjectFormatterEnabled(bool); 105 void setCustomObjectFormatterEnabled(bool);
107 106
108 private: 107 private:
109 friend class InjectedScriptModule; 108 friend class InjectedScriptModule;
110 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ; 109 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ;
111 InjectedScript(ScriptValue, InspectedStateAccessCheck, PassRefPtr<InjectedSc riptNative>); 110 InjectedScript(ScriptValue, InspectedStateAccessCheck, PassRefPtr<InjectedSc riptNative>);
112 111
113 ScriptValue nodeAsScriptValue(Node*); 112 ScriptValue nodeAsScriptValue(Node*);
114 113
115 RefPtr<InjectedScriptNative> m_native; 114 RefPtr<InjectedScriptNative> m_native;
116 }; 115 };
117 116
118 } // namespace blink 117 } // namespace blink
119 118
120 #endif 119 #endif
OLDNEW
« no previous file with comments | « LayoutTests/inspector/console/set-last-eval-result-expected.txt ('k') | Source/core/inspector/InjectedScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698