Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: Source/core/inspector/InspectorDOMAgent.h

Issue 23201018: DevTools: add "Jump to Relayout Boundary" context menu item in Elements panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, cons t RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); 141 virtual void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, cons t RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor);
142 virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlight Config, const int* nodeId, const String* objectId); 142 virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlight Config, const int* nodeId, const String* objectId);
143 virtual void highlightFrame(ErrorString*, const String& frameId, const RefPt r<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); 143 virtual void highlightFrame(ErrorString*, const String& frameId, const RefPt r<JSONObject>* color, const RefPtr<JSONObject>* outlineColor);
144 144
145 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a nchorNodeId, int* newNodeId); 145 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a nchorNodeId, int* newNodeId);
146 virtual void undo(ErrorString*); 146 virtual void undo(ErrorString*);
147 virtual void redo(ErrorString*); 147 virtual void redo(ErrorString*);
148 virtual void markUndoableState(ErrorString*); 148 virtual void markUndoableState(ErrorString*);
149 virtual void focus(ErrorString*, int nodeId); 149 virtual void focus(ErrorString*, int nodeId);
150 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr ray>& files); 150 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr ray>& files);
151 virtual void relayoutBoundaryForNode(ErrorString*, int nodeId, int* relayout BoundaryNodeId);
151 152
152 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr ay, bool includeAncestors); 153 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr ay, bool includeAncestors);
153 154
154 // Methods called from the InspectorInstrumentation. 155 // Methods called from the InspectorInstrumentation.
155 void setDocument(Document*); 156 void setDocument(Document*);
156 void releaseDanglingNodes(); 157 void releaseDanglingNodes();
157 158
158 void domContentLoadedEventFired(Frame*); 159 void domContentLoadedEventFired(Frame*);
159 void loadEventFired(Frame*); 160 void loadEventFired(Frame*);
160 void didCommitLoad(Frame*, DocumentLoader*); 161 void didCommitLoad(Frame*, DocumentLoader*);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; 266 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig;
266 OwnPtr<InspectorHistory> m_history; 267 OwnPtr<InspectorHistory> m_history;
267 OwnPtr<DOMEditor> m_domEditor; 268 OwnPtr<DOMEditor> m_domEditor;
268 bool m_suppressAttributeModifiedEvent; 269 bool m_suppressAttributeModifiedEvent;
269 }; 270 };
270 271
271 272
272 } // namespace WebCore 273 } // namespace WebCore
273 274
274 #endif // !defined(InspectorDOMAgent_h) 275 #endif // !defined(InspectorDOMAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698