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) 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ~InspectorFrontend(); | 60 ~InspectorFrontend(); |
61 | 61 |
62 ScriptArray newScriptArray(); | 62 ScriptArray newScriptArray(); |
63 ScriptObject newScriptObject(); | 63 ScriptObject newScriptObject(); |
64 | 64 |
65 void didCommitLoad(); | 65 void didCommitLoad(); |
66 | 66 |
67 void populateFrontendSettings(const String& settings); | 67 void populateFrontendSettings(const String& settings); |
68 | 68 |
69 void updateConsoleMessageExpiredCount(unsigned count); | 69 void updateConsoleMessageExpiredCount(unsigned count); |
70 void addConsoleMessage(const ScriptObject& messageObj, const Vector<Scri
ptString>& frames, const Vector<ScriptValue> wrappedArguments, const String& mes
sage); | 70 void addConsoleMessage(const ScriptObject& messageObj, const Vector<Scri
ptString>& frames, ScriptState*, const Vector<ScriptValue> arguments, const Stri
ng& message); |
71 void updateConsoleMessageRepeatCount(unsigned count); | 71 void updateConsoleMessageRepeatCount(unsigned count); |
72 void clearConsoleMessages(); | 72 void clearConsoleMessages(); |
73 | 73 |
74 bool updateResource(unsigned long identifier, const ScriptObject& resour
ceObj); | 74 bool updateResource(unsigned long identifier, const ScriptObject& resour
ceObj); |
75 void removeResource(unsigned long identifier); | 75 void removeResource(unsigned long identifier); |
76 | 76 |
77 void updateFocusedNode(long nodeId); | 77 void updateFocusedNode(long nodeId); |
78 void setAttachedWindow(bool attached); | 78 void setAttachedWindow(bool attached); |
79 void showPanel(int panel); | 79 void showPanel(int panel); |
80 void populateInterface(); | 80 void populateInterface(); |
81 void reset(); | 81 void reset(); |
82 | 82 |
83 void resourceTrackingWasEnabled(); | 83 void resourceTrackingWasEnabled(); |
84 void resourceTrackingWasDisabled(); | 84 void resourceTrackingWasDisabled(); |
85 | 85 |
86 #if ENABLE(JAVASCRIPT_DEBUGGER) | 86 #if ENABLE(JAVASCRIPT_DEBUGGER) |
87 void attachDebuggerWhenShown(); | 87 void attachDebuggerWhenShown(); |
88 void debuggerWasEnabled(); | 88 void debuggerWasEnabled(); |
89 void debuggerWasDisabled(); | 89 void debuggerWasDisabled(); |
90 void profilerWasEnabled(); | 90 void profilerWasEnabled(); |
91 void profilerWasDisabled(); | 91 void profilerWasDisabled(); |
92 void parsedScriptSource(const JSC::SourceCode&); | 92 void parsedScriptSource(const JSC::SourceCode&); |
93 void failedToParseScriptSource(const JSC::SourceCode&, int errorLine, co
nst JSC::UString& errorMessage); | 93 void failedToParseScriptSource(const JSC::SourceCode&, int errorLine, co
nst JSC::UString& errorMessage); |
94 void addProfileHeader(const ScriptValue& profile); | 94 void addProfileHeader(const ScriptValue& profile); |
95 void setRecordingProfile(bool isProfiling); | 95 void setRecordingProfile(bool isProfiling); |
96 void didGetProfileHeaders(int callId, const ScriptArray& headers); | 96 void didGetProfileHeaders(int callId, const ScriptArray& headers); |
97 void didGetProfile(int callId, const ScriptValue& profile); | 97 void didGetProfile(int callId, const ScriptValue& profile); |
98 void pausedScript(const ScriptValue& callFrames); | 98 void pausedScript(const String& callFrames); |
99 void resumedScript(); | 99 void resumedScript(); |
100 #endif | 100 #endif |
101 | 101 |
102 #if ENABLE(DATABASE) | 102 #if ENABLE(DATABASE) |
103 bool addDatabase(const ScriptObject& dbObj); | 103 bool addDatabase(const ScriptObject& dbObj); |
104 void selectDatabase(int databaseId); | 104 void selectDatabase(int databaseId); |
105 void didGetDatabaseTableNames(int callId, const ScriptArray& tableNames)
; | 105 void didGetDatabaseTableNames(int callId, const ScriptArray& tableNames)
; |
106 #endif | 106 #endif |
107 | 107 |
108 #if ENABLE(DOM_STORAGE) | 108 #if ENABLE(DOM_STORAGE) |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 private: | 144 private: |
145 void callSimpleFunction(const String& functionName); | 145 void callSimpleFunction(const String& functionName); |
146 InspectorController* m_inspectorController; | 146 InspectorController* m_inspectorController; |
147 ScriptState* m_scriptState; | 147 ScriptState* m_scriptState; |
148 ScriptObject m_webInspector; | 148 ScriptObject m_webInspector; |
149 }; | 149 }; |
150 | 150 |
151 } // namespace WebCore | 151 } // namespace WebCore |
152 | 152 |
153 #endif // !defined(InspectorFrontend_h) | 153 #endif // !defined(InspectorFrontend_h) |
OLD | NEW |