| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 virtual void copyTo(ErrorString*, int nodeId, int targetElementId, const int
* anchorNodeId, int* newNodeId) override; | 146 virtual void copyTo(ErrorString*, int nodeId, int targetElementId, const int
* anchorNodeId, int* newNodeId) override; |
| 147 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a
nchorNodeId, int* newNodeId) override; | 147 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a
nchorNodeId, int* newNodeId) override; |
| 148 virtual void undo(ErrorString*) override; | 148 virtual void undo(ErrorString*) override; |
| 149 virtual void redo(ErrorString*) override; | 149 virtual void redo(ErrorString*) override; |
| 150 virtual void markUndoableState(ErrorString*) override; | 150 virtual void markUndoableState(ErrorString*) override; |
| 151 virtual void focus(ErrorString*, int nodeId) override; | 151 virtual void focus(ErrorString*, int nodeId) override; |
| 152 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr
ray>& files) override; | 152 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr
ray>& files) override; |
| 153 virtual void getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM::
BoxModel>&) override; | 153 virtual void getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM::
BoxModel>&) override; |
| 154 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId) ove
rride; | 154 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId) ove
rride; |
| 155 virtual void getRelayoutBoundary(ErrorString*, int nodeId, int* relayoutBoun
daryNodeId) override; | 155 virtual void getRelayoutBoundary(ErrorString*, int nodeId, int* relayoutBoun
daryNodeId) override; |
| 156 virtual void getHighlightObjectForTest(ErrorString*, int nodeId, RefPtr<JSON
Object>&) override; |
| 156 static void getEventListeners(EventTarget*, Vector<EventListenerInfo>& liste
nersArray, bool includeAncestors); | 157 static void getEventListeners(EventTarget*, Vector<EventListenerInfo>& liste
nersArray, bool includeAncestors); |
| 157 | 158 |
| 158 class Listener : public WillBeGarbageCollectedMixin { | 159 class Listener : public WillBeGarbageCollectedMixin { |
| 159 public: | 160 public: |
| 160 virtual ~Listener() { } | 161 virtual ~Listener() { } |
| 161 virtual void domAgentWasEnabled() = 0; | 162 virtual void domAgentWasEnabled() = 0; |
| 162 virtual void domAgentWasDisabled() = 0; | 163 virtual void domAgentWasDisabled() = 0; |
| 163 }; | 164 }; |
| 164 void setListener(Listener* listener) { m_listener = listener; } | 165 void setListener(Listener* listener) { m_listener = listener; } |
| 165 | 166 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 OwnPtrWillBeMember<InspectorHistory> m_history; | 282 OwnPtrWillBeMember<InspectorHistory> m_history; |
| 282 OwnPtrWillBeMember<DOMEditor> m_domEditor; | 283 OwnPtrWillBeMember<DOMEditor> m_domEditor; |
| 283 bool m_suppressAttributeModifiedEvent; | 284 bool m_suppressAttributeModifiedEvent; |
| 284 RawPtrWillBeMember<Listener> m_listener; | 285 RawPtrWillBeMember<Listener> m_listener; |
| 285 }; | 286 }; |
| 286 | 287 |
| 287 | 288 |
| 288 } // namespace blink | 289 } // namespace blink |
| 289 | 290 |
| 290 #endif // !defined(InspectorDOMAgent_h) | 291 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |