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

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

Issue 2249663003: Revert of [DevTools] Rename entities in js_protocol, remove deprecated ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/platform/v8_inspector/public/V8InspectorClient.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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 { 261 {
262 if (m_runningForCreateWindow) { 262 if (m_runningForCreateWindow) {
263 m_runningForCreateWindow = false; 263 m_runningForCreateWindow = false;
264 if (!m_runningForDebugBreak) 264 if (!m_runningForDebugBreak)
265 m_messageLoop->quitNow(); 265 m_messageLoop->quitNow();
266 return true; 266 return true;
267 } 267 }
268 return false; 268 return false;
269 } 269 }
270 270
271 void runIfWaitingForDebugger(LocalFrame* frame) override 271 void resumeStartup(LocalFrame* frame) override
272 { 272 {
273 // If we've paused for createWindow, handle it ourselves. 273 // If we've paused for createWindow, handle it ourselves.
274 if (quitForCreateWindow()) 274 if (quitForCreateWindow())
275 return; 275 return;
276 // Otherwise, pass to the client (embedded workers do it differently). 276 // Otherwise, pass to the client (embedded workers do it differently).
277 WebDevToolsAgentImpl* agent = WebLocalFrameImpl::fromFrame(frame)->devTo olsAgentImpl(); 277 WebDevToolsAgentImpl* agent = WebLocalFrameImpl::fromFrame(frame)->devTo olsAgentImpl();
278 if (agent && agent->client()) 278 if (agent && agent->client())
279 agent->client()->resumeStartup(); 279 agent->client()->resumeStartup();
280 } 280 }
281 281
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) 669 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method)
670 { 670 {
671 return method == "Debugger.pause" 671 return method == "Debugger.pause"
672 || method == "Debugger.setBreakpoint" 672 || method == "Debugger.setBreakpoint"
673 || method == "Debugger.setBreakpointByUrl" 673 || method == "Debugger.setBreakpointByUrl"
674 || method == "Debugger.removeBreakpoint" 674 || method == "Debugger.removeBreakpoint"
675 || method == "Debugger.setBreakpointsActive"; 675 || method == "Debugger.setBreakpointsActive";
676 } 676 }
677 677
678 } // namespace blink 678 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698