summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/dom_agent.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 10:56:58 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 10:56:58 +0000
commit3bd1ac2ee1c845bcd8daecf9fe83928db0c672c9 (patch)
treed5c8932ca4a01d7509b63c24460653bd3d59cb15 /webkit/glue/devtools/dom_agent.h
parent146e53ce74beec8c5094f144ff8ad277d76b3a38 (diff)
downloadchromium_src-3bd1ac2ee1c845bcd8daecf9fe83928db0c672c9.zip
chromium_src-3bd1ac2ee1c845bcd8daecf9fe83928db0c672c9.tar.gz
chromium_src-3bd1ac2ee1c845bcd8daecf9fe83928db0c672c9.tar.bz2
DevTools: Element Panel search implementation.
Review URL: http://codereview.chromium.org/47009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/dom_agent.h')
-rw-r--r--webkit/glue/devtools/dom_agent.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/glue/devtools/dom_agent.h b/webkit/glue/devtools/dom_agent.h
index 3bd20fa..33306de 100644
--- a/webkit/glue/devtools/dom_agent.h
+++ b/webkit/glue/devtools/dom_agent.h
@@ -27,6 +27,9 @@
/* Sets text node value in the node with given id. */ \
METHOD2(SetTextNodeValue, int /* id */, String /* text */) \
\
+ /* Perform search. */ \
+ METHOD2(PerformSearch, int /* call_id */, String /* query */) \
+ \
/* Tells dom agent that the client has lost all of the dom-related
information and is no longer interested in the notifications related to the
nodes issued earlier. */ \
@@ -38,6 +41,9 @@ DEFINE_RPC_CLASS(DomAgent, DOM_AGENT_STRUCT)
/* Response to GetChildNodes. */ \
METHOD1(DidGetChildNodes, int /* call_id */) \
\
+ /* Perform search. */ \
+ METHOD2(DidPerformSearch, int /* call_id */, Value /* results */) \
+ \
/* Notifies the delegate that element's attributes are updated. */ \
METHOD2(AttributesUpdated, int /* id */, Value /* attributes */) \
\
@@ -56,7 +62,7 @@ DEFINE_RPC_CLASS(DomAgent, DOM_AGENT_STRUCT)
Value /* node */) \
\
/* Notifies the delegate that child node has been deleted. */ \
- METHOD2(ChildNodeRemoved, int /* parent_id */, int /* id */) \
+ METHOD2(ChildNodeRemoved, int /* parent_id */, int /* id */)
DEFINE_RPC_CLASS(DomAgentDelegate, DOM_AGENT_DELEGATE_STRUCT)