| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 InspectorNetworkAgent::create(m_inspectedFrames.get()); | 392 InspectorNetworkAgent::create(m_inspectedFrames.get()); |
| 393 m_networkAgent = networkAgent; | 393 m_networkAgent = networkAgent; |
| 394 m_session->append(networkAgent); | 394 m_session->append(networkAgent); |
| 395 | 395 |
| 396 InspectorCSSAgent* cssAgent = InspectorCSSAgent::create( | 396 InspectorCSSAgent* cssAgent = InspectorCSSAgent::create( |
| 397 m_domAgent, m_inspectedFrames.get(), m_networkAgent, | 397 m_domAgent, m_inspectedFrames.get(), m_networkAgent, |
| 398 m_resourceContentLoader.get(), m_resourceContainer.get()); | 398 m_resourceContentLoader.get(), m_resourceContainer.get()); |
| 399 m_session->append(cssAgent); | 399 m_session->append(cssAgent); |
| 400 | 400 |
| 401 m_session->append(new InspectorAnimationAgent( | 401 m_session->append(new InspectorAnimationAgent( |
| 402 m_inspectedFrames.get(), m_domAgent, cssAgent, m_session->v8Session())); | 402 m_inspectedFrames.get(), cssAgent, m_session->v8Session())); |
| 403 | 403 |
| 404 m_session->append(InspectorMemoryAgent::create()); | 404 m_session->append(InspectorMemoryAgent::create()); |
| 405 | 405 |
| 406 m_session->append( | 406 m_session->append( |
| 407 InspectorApplicationCacheAgent::create(m_inspectedFrames.get())); | 407 InspectorApplicationCacheAgent::create(m_inspectedFrames.get())); |
| 408 | 408 |
| 409 m_session->append(new InspectorIndexedDBAgent(m_inspectedFrames.get(), | 409 m_session->append(new InspectorIndexedDBAgent(m_inspectedFrames.get(), |
| 410 m_session->v8Session())); | 410 m_session->v8Session())); |
| 411 | 411 |
| 412 InspectorWorkerAgent* workerAgent = | 412 InspectorWorkerAgent* workerAgent = |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 } | 699 } |
| 700 | 700 |
| 701 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { | 701 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { |
| 702 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || | 702 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || |
| 703 method == "Debugger.setBreakpointByUrl" || | 703 method == "Debugger.setBreakpointByUrl" || |
| 704 method == "Debugger.removeBreakpoint" || | 704 method == "Debugger.removeBreakpoint" || |
| 705 method == "Debugger.setBreakpointsActive"; | 705 method == "Debugger.setBreakpointsActive"; |
| 706 } | 706 } |
| 707 | 707 |
| 708 } // namespace blink | 708 } // namespace blink |
| OLD | NEW |