| Index: webkit/glue/devtools/dom_agent_impl.h
|
| ===================================================================
|
| --- webkit/glue/devtools/dom_agent_impl.h (revision 13007)
|
| +++ webkit/glue/devtools/dom_agent_impl.h (working copy)
|
| @@ -16,12 +16,15 @@
|
| #include "webkit/glue/devtools/dom_agent.h"
|
|
|
| namespace WebCore {
|
| +class CSSRuleList;
|
| class Document;
|
| class Element;
|
| class Event;
|
| +class NameNodeMap;
|
| class Node;
|
| }
|
|
|
| +class DictionaryValue;
|
| class ListValue;
|
| class Value;
|
|
|
| @@ -48,6 +51,7 @@
|
| int element_id,
|
| const WebCore::String& value);
|
| void PerformSearch(int call_id, const String& query);
|
| + void GetNodeStyles(int call_id, int id, bool author_only);
|
| void DiscardBindings();
|
|
|
| // Initializes dom agent with the given document.
|
| @@ -124,6 +128,12 @@
|
| int InnerChildNodeCount(WebCore::Node* node);
|
| WebCore::Element* InnerParentElement(WebCore::Node* node);
|
|
|
| + // Helpers for GetNodeStyles
|
| + void BuildValueForCSSRules(WebCore::CSSRuleList& matched,
|
| + ListValue& descriptionList);
|
| + void BuildValueForAttributeStyles(const WebCore::NamedNodeMap& attributes,
|
| + DictionaryValue& description);
|
| +
|
| DomAgentDelegate* delegate_;
|
| HashMap<WebCore::Node*, int> node_to_id_;
|
| HashMap<int, WebCore::Node*> id_to_node_;
|
|
|