| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "core/inspector/InspectorConsoleAgent.h" | 35 #include "core/inspector/InspectorConsoleAgent.h" |
| 36 #include "core/inspector/InspectorDOMAgent.h" | 36 #include "core/inspector/InspectorDOMAgent.h" |
| 37 #include "core/inspector/InspectorDOMStorageAgent.h" | 37 #include "core/inspector/InspectorDOMStorageAgent.h" |
| 38 #include "core/inspector/InspectorDatabaseAgent.h" | 38 #include "core/inspector/InspectorDatabaseAgent.h" |
| 39 #include "core/inspector/InspectorDebuggerAgent.h" | 39 #include "core/inspector/InspectorDebuggerAgent.h" |
| 40 #include "core/inspector/InstrumentingAgents.h" | 40 #include "core/inspector/InstrumentingAgents.h" |
| 41 #include "core/platform/JSONValues.h" | 41 #include "core/platform/JSONValues.h" |
| 42 #include "core/platform/Pasteboard.h" | 42 #include "core/platform/Pasteboard.h" |
| 43 | 43 |
| 44 #include "wtf/RefPtr.h" | 44 #include "wtf/RefPtr.h" |
| 45 #include "wtf/StdLibExtras.h" | |
| 46 #include "wtf/text/StringBuilder.h" | 45 #include "wtf/text/StringBuilder.h" |
| 47 | 46 |
| 48 using namespace std; | 47 using namespace std; |
| 49 | 48 |
| 50 namespace WebCore { | 49 namespace WebCore { |
| 51 | 50 |
| 52 PassRefPtr<InjectedScriptHost> InjectedScriptHost::create() | 51 PassRefPtr<InjectedScriptHost> InjectedScriptHost::create() |
| 53 { | 52 { |
| 54 return adoptRef(new InjectedScriptHost()); | 53 return adoptRef(new InjectedScriptHost()); |
| 55 } | 54 } |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 } | 161 } |
| 163 | 162 |
| 164 void InjectedScriptHost::unmonitorFunction(const String& scriptId, int lineNumbe
r, int columnNumber) | 163 void InjectedScriptHost::unmonitorFunction(const String& scriptId, int lineNumbe
r, int columnNumber) |
| 165 { | 164 { |
| 166 if (InspectorDebuggerAgent* debuggerAgent = m_instrumentingAgents ? m_instru
mentingAgents->inspectorDebuggerAgent() : 0) | 165 if (InspectorDebuggerAgent* debuggerAgent = m_instrumentingAgents ? m_instru
mentingAgents->inspectorDebuggerAgent() : 0) |
| 167 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, Insp
ectorDebuggerAgent::MonitorCommandBreakpointSource); | 166 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, Insp
ectorDebuggerAgent::MonitorCommandBreakpointSource); |
| 168 } | 167 } |
| 169 | 168 |
| 170 } // namespace WebCore | 169 } // namespace WebCore |
| 171 | 170 |
| OLD | NEW |