diff options
Diffstat (limited to 'chrome/browser/debugger/debugger_io.h')
| -rw-r--r-- | chrome/browser/debugger/debugger_io.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/browser/debugger/debugger_io.h b/chrome/browser/debugger/debugger_io.h index 1e4a5f4..b2ea381 100644 --- a/chrome/browser/debugger/debugger_io.h +++ b/chrome/browser/debugger/debugger_io.h @@ -6,11 +6,13 @@ #define CHROME_BROWSER_DEBUGGER_DEBUGGER_IO_H_ #include <string> +#include <vector> #include "base/basictypes.h" #include "base/ref_counted.h" -class DebuggerShell; +class DebuggerHost; +class ListValue; class DebuggerInputOutput : public base::RefCountedThreadSafe<DebuggerInputOutput> { @@ -19,7 +21,7 @@ public: virtual ~DebuggerInputOutput() {} // Called when Debugger is ready to begin. - virtual void Start(DebuggerShell* debugger) { debugger_ = debugger; } + virtual void Start(DebuggerHost* debugger) { debugger_ = debugger; } // Called when Debugger is shutting down virtual void Stop() {} @@ -39,8 +41,12 @@ public: // is running, and true when the page is stopped at a breakpoint virtual void SetDebuggerBreak(bool brk) {} + // sends message to debugger UI page in order to invoke JS function in it + virtual void CallFunctionInPage(const std::wstring& name, + ListValue* argv) {} + protected: - DebuggerShell* debugger_; + DebuggerHost* debugger_; private: DISALLOW_COPY_AND_ASSIGN(DebuggerInputOutput); |
