summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_io.h
diff options
context:
space:
mode:
authorsgjesse@chromium.org <sgjesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 14:04:49 +0000
committersgjesse@chromium.org <sgjesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 14:04:49 +0000
commit6012ad27a7c289d27bbff436bf6affd62a00a18a (patch)
tree88c98a791b774107499c4229ef4b3c046f3aba2e /chrome/browser/debugger/debugger_io.h
parent1b25616475b3f7ac67d8c3e2d2d04adcc4ddaab5 (diff)
downloadchromium_src-6012ad27a7c289d27bbff436bf6affd62a00a18a.zip
chromium_src-6012ad27a7c289d27bbff436bf6affd62a00a18a.tar.gz
chromium_src-6012ad27a7c289d27bbff436bf6affd62a00a18a.tar.bz2
Copy of http://codereview.chromium.org/13003 created by yury.semikhatsky@gmail.com for final commit.
Review URL: http://codereview.chromium.org/13092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6286 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/debugger_io.h')
-rw-r--r--chrome/browser/debugger/debugger_io.h12
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);