Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 210 | 210 |
| 211 Node* assertNode(ErrorString*, int nodeId); | 211 Node* assertNode(ErrorString*, int nodeId); |
| 212 Element* assertElement(ErrorString*, int nodeId); | 212 Element* assertElement(ErrorString*, int nodeId); |
| 213 Document* assertDocument(ErrorString*, int nodeId); | 213 Document* assertDocument(ErrorString*, int nodeId); |
| 214 | 214 |
| 215 private: | 215 private: |
| 216 enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow }; | 216 enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow }; |
| 217 | 217 |
| 218 InspectorDOMAgent(InspectorPageAgent*, InjectedScriptManager*, InspectorOver lay*); | 218 InspectorDOMAgent(InspectorPageAgent*, InjectedScriptManager*, InspectorOver lay*); |
| 219 | 219 |
| 220 void enable(); | |
|
pfeldman
2014/06/26 15:15:15
innerEnable
loislo
2014/06/26 18:27:05
Done.
| |
| 221 | |
| 220 void setSearchingForNode(ErrorString*, SearchMode, JSONObject* highlightConf ig); | 222 void setSearchingForNode(ErrorString*, SearchMode, JSONObject* highlightConf ig); |
| 221 PassOwnPtr<HighlightConfig> highlightConfigFromInspectorObject(ErrorString*, JSONObject* highlightInspectorObject); | 223 PassOwnPtr<HighlightConfig> highlightConfigFromInspectorObject(ErrorString*, JSONObject* highlightInspectorObject); |
| 222 | 224 |
| 223 // Node-related methods. | 225 // Node-related methods. |
| 224 typedef WillBeHeapHashMap<RefPtrWillBeMember<Node>, int> NodeToIdMap; | 226 typedef WillBeHeapHashMap<RefPtrWillBeMember<Node>, int> NodeToIdMap; |
| 225 int bind(Node*, NodeToIdMap*); | 227 int bind(Node*, NodeToIdMap*); |
| 226 void unbind(Node*, NodeToIdMap*); | 228 void unbind(Node*, NodeToIdMap*); |
| 227 | 229 |
| 228 Node* assertEditableNode(ErrorString*, int nodeId); | 230 Node* assertEditableNode(ErrorString*, int nodeId); |
| 229 Element* assertEditableElement(ErrorString*, int nodeId); | 231 Element* assertEditableElement(ErrorString*, int nodeId); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 275 OwnPtrWillBePersistent<InspectorHistory> m_history; | 277 OwnPtrWillBePersistent<InspectorHistory> m_history; |
| 276 OwnPtrWillBePersistent<DOMEditor> m_domEditor; | 278 OwnPtrWillBePersistent<DOMEditor> m_domEditor; |
| 277 bool m_suppressAttributeModifiedEvent; | 279 bool m_suppressAttributeModifiedEvent; |
| 278 Listener* m_listener; | 280 Listener* m_listener; |
| 279 }; | 281 }; |
| 280 | 282 |
| 281 | 283 |
| 282 } // namespace WebCore | 284 } // namespace WebCore |
| 283 | 285 |
| 284 #endif // !defined(InspectorDOMAgent_h) | 286 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |