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

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: renamed output parameters, try run Created 7 years, 3 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM:: BoxModel>&); 151 virtual void getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM:: BoxModel>&);
152 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId); 152 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId);
153 virtual void getRelayoutBoundary(ErrorString*, int nodeId, int* relayoutBoun daryNodeId);
153 154
154 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr ay, bool includeAncestors); 155 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr ay, bool includeAncestors);
155 156
156 // Methods called from the InspectorInstrumentation. 157 // Methods called from the InspectorInstrumentation.
157 void setDocument(Document*); 158 void setDocument(Document*);
158 void releaseDanglingNodes(); 159 void releaseDanglingNodes();
159 160
160 void domContentLoadedEventFired(Frame*); 161 void domContentLoadedEventFired(Frame*);
161 void loadEventFired(Frame*); 162 void loadEventFired(Frame*);
162 void didCommitLoad(Frame*, DocumentLoader*); 163 void didCommitLoad(Frame*, DocumentLoader*);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; 271 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig;
271 OwnPtr<InspectorHistory> m_history; 272 OwnPtr<InspectorHistory> m_history;
272 OwnPtr<DOMEditor> m_domEditor; 273 OwnPtr<DOMEditor> m_domEditor;
273 bool m_suppressAttributeModifiedEvent; 274 bool m_suppressAttributeModifiedEvent;
274 }; 275 };
275 276
276 277
277 } // namespace WebCore 278 } // namespace WebCore
278 279
279 #endif // !defined(InspectorDOMAgent_h) 280 #endif // !defined(InspectorDOMAgent_h)
OLDNEW
« no previous file with comments | « LayoutTests/inspector-protocol/dom/dom-relayout-boundary-expected.txt ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698