| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 bool InspectorDebuggerAgent::isPaused() | 270 bool InspectorDebuggerAgent::isPaused() |
| 271 { | 271 { |
| 272 return scriptDebugServer().isPaused(); | 272 return scriptDebugServer().isPaused(); |
| 273 } | 273 } |
| 274 | 274 |
| 275 bool InspectorDebuggerAgent::runningNestedMessageLoop() | 275 bool InspectorDebuggerAgent::runningNestedMessageLoop() |
| 276 { | 276 { |
| 277 return scriptDebugServer().runningNestedMessageLoop(); | 277 return scriptDebugServer().runningNestedMessageLoop(); |
| 278 } | 278 } |
| 279 | 279 |
| 280 void InspectorDebuggerAgent::addMessageToConsole(ConsoleMessage* consoleMessage) | 280 void InspectorDebuggerAgent::addMessageToConsole(PassRefPtr<ConsoleMessage> cons
oleMessage) |
| 281 { | 281 { |
| 282 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) | 282 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) |
| 283 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); | 283 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); |
| 284 } | 284 } |
| 285 | 285 |
| 286 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) | 286 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) |
| 287 { | 287 { |
| 288 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); | 288 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); |
| 289 } | 289 } |
| 290 | 290 |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 void InspectorDebuggerAgent::trace(Visitor* visitor) | 1456 void InspectorDebuggerAgent::trace(Visitor* visitor) |
| 1457 { | 1457 { |
| 1458 visitor->trace(m_injectedScriptManager); | 1458 visitor->trace(m_injectedScriptManager); |
| 1459 visitor->trace(m_listener); | 1459 visitor->trace(m_listener); |
| 1460 visitor->trace(m_asyncCallStackTracker); | 1460 visitor->trace(m_asyncCallStackTracker); |
| 1461 InspectorBaseAgent::trace(visitor); | 1461 InspectorBaseAgent::trace(visitor); |
| 1462 } | 1462 } |
| 1463 | 1463 |
| 1464 } // namespace blink | 1464 } // namespace blink |
| 1465 | 1465 |
| OLD | NEW |