| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void removeNode(ErrorString*, int nodeId) override; | 116 void removeNode(ErrorString*, int nodeId) override; |
| 117 void setNodeName(ErrorString*, int nodeId, const String& name, int* newId) o
verride; | 117 void setNodeName(ErrorString*, int nodeId, const String& name, int* newId) o
verride; |
| 118 void getOuterHTML(ErrorString*, int nodeId, WTF::String* outerHTML) override
; | 118 void getOuterHTML(ErrorString*, int nodeId, WTF::String* outerHTML) override
; |
| 119 void setOuterHTML(ErrorString*, int nodeId, const String& outerHTML) overrid
e; | 119 void setOuterHTML(ErrorString*, int nodeId, const String& outerHTML) overrid
e; |
| 120 void setNodeValue(ErrorString*, int nodeId, const String& value) override; | 120 void setNodeValue(ErrorString*, int nodeId, const String& value) override; |
| 121 void performSearch(ErrorString*, const String& whitespaceTrimmedQuery, const
bool* includeUserAgentShadowDOM, String* searchId, int* resultCount) override; | 121 void performSearch(ErrorString*, const String& whitespaceTrimmedQuery, const
bool* includeUserAgentShadowDOM, String* searchId, int* resultCount) override; |
| 122 void getSearchResults(ErrorString*, const String& searchId, int fromIndex, i
nt toIndex, RefPtr<TypeBuilder::Array<int>>&) override; | 122 void getSearchResults(ErrorString*, const String& searchId, int fromIndex, i
nt toIndex, RefPtr<TypeBuilder::Array<int>>&) override; |
| 123 void discardSearchResults(ErrorString*, const String& searchId) override; | 123 void discardSearchResults(ErrorString*, const String& searchId) override; |
| 124 void resolveNode(ErrorString*, int nodeId, const String* objectGroup, RefPtr
<TypeBuilder::Runtime::RemoteObject>& result) override; | 124 void resolveNode(ErrorString*, int nodeId, const String* objectGroup, RefPtr
<TypeBuilder::Runtime::RemoteObject>& result) override; |
| 125 void getAttributes(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<Strin
g>>& result) override; | 125 void getAttributes(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<Strin
g>>& result) override; |
| 126 void setInspectModeEnabled(ErrorString*, bool enabled, const bool* inspectUA
ShadowDOM, const RefPtr<JSONObject>* highlightConfig) override; | 126 void setInspectMode(ErrorString*, const String&, const RefPtr<JSONObject>* h
ighlightConfig) override; |
| 127 void requestNode(ErrorString*, const String& objectId, int* nodeId) override
; | 127 void requestNode(ErrorString*, const String& objectId, int* nodeId) override
; |
| 128 void pushNodeByPathToFrontend(ErrorString*, const String& path, int* nodeId)
override; | 128 void pushNodeByPathToFrontend(ErrorString*, const String& path, int* nodeId)
override; |
| 129 void pushNodesByBackendIdsToFrontend(ErrorString*, const RefPtr<JSONArray>&
nodeIds, RefPtr<TypeBuilder::Array<int>>&) override; | 129 void pushNodesByBackendIdsToFrontend(ErrorString*, const RefPtr<JSONArray>&
nodeIds, RefPtr<TypeBuilder::Array<int>>&) override; |
| 130 void setInspectedNode(ErrorString*, int nodeId) override; | 130 void setInspectedNode(ErrorString*, int nodeId) override; |
| 131 void hideHighlight(ErrorString*) override; | 131 void hideHighlight(ErrorString*) override; |
| 132 void highlightRect(ErrorString*, int x, int y, int width, int height, const
RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) override; | 132 void highlightRect(ErrorString*, int x, int y, int width, int height, const
RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) override; |
| 133 void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, const RefPtr
<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) override; | 133 void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, const RefPtr
<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) override; |
| 134 void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig,
const int* nodeId, const int* backendNodeId, const String* objectId) override; | 134 void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig,
const int* nodeId, const int* backendNodeId, const String* objectId) override; |
| 135 void highlightFrame(ErrorString*, const String& frameId, const RefPtr<JSONOb
ject>* color, const RefPtr<JSONObject>* outlineColor) override; | 135 void highlightFrame(ErrorString*, const String& frameId, const RefPtr<JSONOb
ject>* color, const RefPtr<JSONObject>* outlineColor) override; |
| 136 | 136 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 OwnPtrWillBeMember<InspectorHistory> m_history; | 261 OwnPtrWillBeMember<InspectorHistory> m_history; |
| 262 OwnPtrWillBeMember<DOMEditor> m_domEditor; | 262 OwnPtrWillBeMember<DOMEditor> m_domEditor; |
| 263 bool m_suppressAttributeModifiedEvent; | 263 bool m_suppressAttributeModifiedEvent; |
| 264 int m_backendNodeIdToInspect; | 264 int m_backendNodeIdToInspect; |
| 265 }; | 265 }; |
| 266 | 266 |
| 267 | 267 |
| 268 } // namespace blink | 268 } // namespace blink |
| 269 | 269 |
| 270 #endif // !defined(InspectorDOMAgent_h) | 270 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |