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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void clearInspectedObjects(); | 101 void clearInspectedObjects(); |
102 InspectableObject* inspectedObject(unsigned int num); | 102 InspectableObject* inspectedObject(unsigned int num); |
103 | 103 |
104 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp
ectorValue> hints); | 104 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp
ectorValue> hints); |
105 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray)
; | 105 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray)
; |
106 | 106 |
107 void clearConsoleMessages(); | 107 void clearConsoleMessages(); |
108 void copyText(const String& text); | 108 void copyText(const String& text); |
109 String databaseIdImpl(Database*); | 109 String databaseIdImpl(Database*); |
110 String storageIdImpl(Storage*); | 110 String storageIdImpl(Storage*); |
111 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber)
; | 111 void debugFunction(const String& scriptId, int lineNumber, int columnNumber)
; |
112 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb
er); | 112 void undebugFunction(const String& scriptId, int lineNumber, int columnNumbe
r); |
| 113 void monitorFunction(const String& scriptId, int lineNumber, int columnNumbe
r, const String& functionName); |
| 114 void unmonitorFunction(const String& scriptId, int lineNumber, int columnNum
ber); |
113 | 115 |
114 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; } | 116 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; } |
115 | 117 |
116 private: | 118 private: |
117 InjectedScriptHost(); | 119 InjectedScriptHost(); |
118 | 120 |
119 InspectorAgent* m_inspectorAgent; | 121 InspectorAgent* m_inspectorAgent; |
120 InspectorConsoleAgent* m_consoleAgent; | 122 InspectorConsoleAgent* m_consoleAgent; |
121 InspectorDatabaseAgent* m_databaseAgent; | 123 InspectorDatabaseAgent* m_databaseAgent; |
122 InspectorDOMStorageAgent* m_domStorageAgent; | 124 InspectorDOMStorageAgent* m_domStorageAgent; |
123 InspectorDOMAgent* m_domAgent; | 125 InspectorDOMAgent* m_domAgent; |
124 InspectorDebuggerAgent* m_debuggerAgent; | 126 InspectorDebuggerAgent* m_debuggerAgent; |
125 ScriptDebugServer* m_scriptDebugServer; | 127 ScriptDebugServer* m_scriptDebugServer; |
126 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; | 128 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; |
127 OwnPtr<InspectableObject> m_defaultInspectableObject; | 129 OwnPtr<InspectableObject> m_defaultInspectableObject; |
128 }; | 130 }; |
129 | 131 |
130 } // namespace WebCore | 132 } // namespace WebCore |
131 | 133 |
132 #endif // !defined(InjectedScriptHost_h) | 134 #endif // !defined(InjectedScriptHost_h) |
OLD | NEW |