| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void clearInspectedObjects(); | 80 void clearInspectedObjects(); |
| 81 InspectableObject* inspectedObject(unsigned int num); | 81 InspectableObject* inspectedObject(unsigned int num); |
| 82 | 82 |
| 83 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp
ectorValue> hints); | 83 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp
ectorValue> hints); |
| 84 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray)
; | 84 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray)
; |
| 85 | 85 |
| 86 void clearConsoleMessages(); | 86 void clearConsoleMessages(); |
| 87 void copyText(const String& text); | 87 void copyText(const String& text); |
| 88 String databaseIdImpl(Database*); | 88 String databaseIdImpl(Database*); |
| 89 String storageIdImpl(Storage*); | 89 String storageIdImpl(Storage*); |
| 90 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber)
; | 90 void debugFunction(const String& scriptId, int lineNumber, int columnNumber)
; |
| 91 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb
er); | 91 void undebugFunction(const String& scriptId, int lineNumber, int columnNumbe
r); |
| 92 void monitorFunction(const String& scriptId, int lineNumber, int columnNumbe
r, const String& functionName); |
| 93 void unmonitorFunction(const String& scriptId, int lineNumber, int columnNum
ber); |
| 92 | 94 |
| 93 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; } | 95 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; } |
| 94 | 96 |
| 95 private: | 97 private: |
| 96 InjectedScriptHost(); | 98 InjectedScriptHost(); |
| 97 | 99 |
| 98 InstrumentingAgents* m_instrumentingAgents; | 100 InstrumentingAgents* m_instrumentingAgents; |
| 99 ScriptDebugServer* m_scriptDebugServer; | 101 ScriptDebugServer* m_scriptDebugServer; |
| 100 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; | 102 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; |
| 101 OwnPtr<InspectableObject> m_defaultInspectableObject; | 103 OwnPtr<InspectableObject> m_defaultInspectableObject; |
| 102 }; | 104 }; |
| 103 | 105 |
| 104 } // namespace WebCore | 106 } // namespace WebCore |
| 105 | 107 |
| 106 #endif // !defined(InjectedScriptHost_h) | 108 #endif // !defined(InjectedScriptHost_h) |
| OLD | NEW |