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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 | 382 |
383 InspectorCSSAgent* cssAgent = InspectorCSSAgent::create(m_domAgent, m_inspec
tedFrames.get(), m_networkAgent, m_resourceContentLoader.get(), m_resourceContai
ner.get()); | 383 InspectorCSSAgent* cssAgent = InspectorCSSAgent::create(m_domAgent, m_inspec
tedFrames.get(), m_networkAgent, m_resourceContentLoader.get(), m_resourceContai
ner.get()); |
384 m_session->append(cssAgent); | 384 m_session->append(cssAgent); |
385 | 385 |
386 m_session->append(new InspectorAnimationAgent(m_inspectedFrames.get(), m_dom
Agent, cssAgent, m_session->v8Session())); | 386 m_session->append(new InspectorAnimationAgent(m_inspectedFrames.get(), m_dom
Agent, cssAgent, m_session->v8Session())); |
387 | 387 |
388 m_session->append(InspectorMemoryAgent::create()); | 388 m_session->append(InspectorMemoryAgent::create()); |
389 | 389 |
390 m_session->append(InspectorApplicationCacheAgent::create(m_inspectedFrames.g
et())); | 390 m_session->append(InspectorApplicationCacheAgent::create(m_inspectedFrames.g
et())); |
391 | 391 |
392 m_session->append(InspectorIndexedDBAgent::create(m_inspectedFrames.get())); | 392 m_session->append(new InspectorIndexedDBAgent(m_inspectedFrames.get(), m_ses
sion->v8Session())); |
393 | 393 |
394 InspectorWorkerAgent* workerAgent = new InspectorWorkerAgent(m_inspectedFram
es.get()); | 394 InspectorWorkerAgent* workerAgent = new InspectorWorkerAgent(m_inspectedFram
es.get()); |
395 m_session->append(workerAgent); | 395 m_session->append(workerAgent); |
396 | 396 |
397 InspectorTracingAgent* tracingAgent = InspectorTracingAgent::create(this, wo
rkerAgent, m_inspectedFrames.get()); | 397 InspectorTracingAgent* tracingAgent = InspectorTracingAgent::create(this, wo
rkerAgent, m_inspectedFrames.get()); |
398 m_tracingAgent = tracingAgent; | 398 m_tracingAgent = tracingAgent; |
399 m_session->append(tracingAgent); | 399 m_session->append(tracingAgent); |
400 | 400 |
401 m_session->append(new InspectorDOMDebuggerAgent(isolate, m_domAgent, m_sessi
on->v8Session())); | 401 m_session->append(new InspectorDOMDebuggerAgent(isolate, m_domAgent, m_sessi
on->v8Session())); |
402 | 402 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) | 677 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) |
678 { | 678 { |
679 return method == "Debugger.pause" | 679 return method == "Debugger.pause" |
680 || method == "Debugger.setBreakpoint" | 680 || method == "Debugger.setBreakpoint" |
681 || method == "Debugger.setBreakpointByUrl" | 681 || method == "Debugger.setBreakpointByUrl" |
682 || method == "Debugger.removeBreakpoint" | 682 || method == "Debugger.removeBreakpoint" |
683 || method == "Debugger.setBreakpointsActive"; | 683 || method == "Debugger.setBreakpointsActive"; |
684 } | 684 } |
685 | 685 |
686 } // namespace blink | 686 } // namespace blink |
OLD | NEW |