diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 08:34:00 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 08:34:00 +0000 |
commit | 55d70673337a2346cb7e203b5934a56e380f0073 (patch) | |
tree | a239c8b32b8d5ed2ea1330a6223d7c129b23bae1 /webkit/glue/devtools/dom_agent_impl.h | |
parent | a8c3d9236906ef90b183ed65df9ae848acf3eab5 (diff) | |
download | chromium_src-55d70673337a2346cb7e203b5934a56e380f0073.zip chromium_src-55d70673337a2346cb7e203b5934a56e380f0073.tar.gz chromium_src-55d70673337a2346cb7e203b5934a56e380f0073.tar.bz2 |
DevTools: fixes for crashes / bugs while debugging calendar.google.com.
Review URL: http://codereview.chromium.org/60051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/dom_agent_impl.h')
-rw-r--r-- | webkit/glue/devtools/dom_agent_impl.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/webkit/glue/devtools/dom_agent_impl.h b/webkit/glue/devtools/dom_agent_impl.h index 9fa011c..5a959eb 100644 --- a/webkit/glue/devtools/dom_agent_impl.h +++ b/webkit/glue/devtools/dom_agent_impl.h @@ -121,6 +121,13 @@ class DomAgentImpl : public DomAgent { WebCore::Element* element, int depth); + // Serializes CSS rule list into the list value. + ListValue* BuildValueForCSSRules(WebCore::CSSRuleList& matched); + + // Serializes attribute styles into the dictionary value. + DictionaryValue* BuildValueForAttributeStyles( + const WebCore::NamedNodeMap& attributes); + // We represent embedded doms as a part of the same hierarchy. Hence we // treat children of frame owners differently. Following two methods // encapsulate frame owner specifics. @@ -128,12 +135,6 @@ class DomAgentImpl : public DomAgent { 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_; |