summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/devtools_agent.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 11:33:05 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 11:33:05 +0000
commitb4b967edacf8e291f78df2c8238e3446922a179f (patch)
tree621b8c0eedf48e7cb346f31277ce3b34a30cb99a /chrome/renderer/devtools_agent.h
parent57b4ef12d0f726a79a3fa023cd6bb32b51925be8 (diff)
downloadchromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.zip
chromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.tar.gz
chromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.tar.bz2
DevTools: Run nested message loop instead of whitelisting the messages.
Review URL: http://codereview.chromium.org/90007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.h')
-rw-r--r--chrome/renderer/devtools_agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/devtools_agent.h b/chrome/renderer/devtools_agent.h
index 9f813a3..2c2702c 100644
--- a/chrome/renderer/devtools_agent.h
+++ b/chrome/renderer/devtools_agent.h
@@ -32,6 +32,7 @@ class DevToolsAgent : public WebDevToolsAgentDelegate {
// WebDevToolsAgentDelegate implementation
virtual void SendMessageToClient(const std::string& raw_msg);
virtual int GetHostId();
+ virtual void ForceRepaint();
// Returns agent instance for its host id.
static DevToolsAgent* FromHostId(int host_id);
@@ -43,6 +44,7 @@ class DevToolsAgent : public WebDevToolsAgentDelegate {
private:
friend class DevToolsAgentFilter;
+ void OnAttach();
void OnDetach();
void OnRpcMessage(const std::string& raw_msg);
void OnInspectElement(int x, int y);