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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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
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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 ASSERT(m_webLocalFrameImpl->frame()); 431 ASSERT(m_webLocalFrameImpl->frame());
432 ASSERT(m_inspectedFrames->root()->view()); 432 ASSERT(m_inspectedFrames->root()->view());
433 433
434 detach(); 434 detach();
435 m_injectedScriptManager->disconnect(); 435 m_injectedScriptManager->disconnect();
436 m_resourceContentLoader->dispose(); 436 m_resourceContentLoader->dispose();
437 m_agents.discardAgents(); 437 m_agents.discardAgents();
438 m_instrumentingAgents->reset(); 438 m_instrumentingAgents->reset();
439 } 439 }
440 440
441 InspectorOverlay* WebDevToolsAgentImpl::overlay() const
442 {
443 return m_overlay.get();
444 }
445
446 void WebDevToolsAgentImpl::initializeDeferredAgents() 441 void WebDevToolsAgentImpl::initializeDeferredAgents()
447 { 442 {
448 if (m_deferredAgentsInitialized) 443 if (m_deferredAgentsInitialized)
449 return; 444 return;
450 m_deferredAgentsInitialized = true; 445 m_deferredAgentsInitialized = true;
451 446
452 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get() ; 447 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get() ;
453 448
454 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc eAgent::create(m_inspectedFrames.get())); 449 OwnPtrWillBeRawPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourc eAgent::create(m_inspectedFrames.get()));
455 m_resourceAgent = resourceAgentPtr.get(); 450 m_resourceAgent = resourceAgentPtr.get();
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 if (!InspectorBackendDispatcher::getCommandName(message, &commandName)) 719 if (!InspectorBackendDispatcher::getCommandName(message, &commandName))
725 return false; 720 return false;
726 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_pauseCmd) 721 return commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_pauseCmd)
727 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointCmd) 722 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointCmd)
728 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointByUrlCmd) 723 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointByUrlCmd)
729 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_removeBreakpointCmd) 724 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_removeBreakpointCmd)
730 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointsActiveCmd); 725 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kDebugger_setBreakpointsActiveCmd);
731 } 726 }
732 727
733 } // namespace blink 728 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698