Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 2112593003: [DevTools] Remove [V8] from InspectorInstrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrated to inspector-protocol test Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 476 }
477 477
478 void WebDevToolsAgentImpl::didCommitLoadForLocalFrame(LocalFrame* frame) 478 void WebDevToolsAgentImpl::didCommitLoadForLocalFrame(LocalFrame* frame)
479 { 479 {
480 m_resourceContainer->didCommitLoadForLocalFrame(frame); 480 m_resourceContainer->didCommitLoadForLocalFrame(frame);
481 m_resourceContentLoader->didCommitLoadForLocalFrame(frame); 481 m_resourceContentLoader->didCommitLoadForLocalFrame(frame);
482 if (m_session) 482 if (m_session)
483 m_session->didCommitLoadForLocalFrame(frame); 483 m_session->didCommitLoadForLocalFrame(frame);
484 } 484 }
485 485
486 void WebDevToolsAgentImpl::didStartProvisionalLoad(LocalFrame* frame)
487 {
488 if (m_session && m_inspectedFrames->root() == frame)
489 m_session->v8Session()->resume();
490 }
491
486 bool WebDevToolsAgentImpl::screencastEnabled() 492 bool WebDevToolsAgentImpl::screencastEnabled()
487 { 493 {
488 return m_pageAgent && m_pageAgent->screencastEnabled(); 494 return m_pageAgent && m_pageAgent->screencastEnabled();
489 } 495 }
490 496
491 void WebDevToolsAgentImpl::willAddPageOverlay(const GraphicsLayer* layer) 497 void WebDevToolsAgentImpl::willAddPageOverlay(const GraphicsLayer* layer)
492 { 498 {
493 if (m_layerTreeAgent) 499 if (m_layerTreeAgent)
494 m_layerTreeAgent->willAddPageOverlay(layer); 500 m_layerTreeAgent->willAddPageOverlay(layer);
495 } 501 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) 677 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method)
672 { 678 {
673 return method == "Debugger.pause" 679 return method == "Debugger.pause"
674 || method == "Debugger.setBreakpoint" 680 || method == "Debugger.setBreakpoint"
675 || method == "Debugger.setBreakpointByUrl" 681 || method == "Debugger.setBreakpointByUrl"
676 || method == "Debugger.removeBreakpoint" 682 || method == "Debugger.removeBreakpoint"
677 || method == "Debugger.setBreakpointsActive"; 683 || method == "Debugger.setBreakpointsActive";
678 } 684 }
679 685
680 } // namespace blink 686 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698