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

Unified Diff: Source/core/inspector/InspectorController.cpp

Issue 620783002: Devtools Animations: Basic animation inspection & control in Styles pane (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/devtools/devtools.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorController.cpp
diff --git a/Source/core/inspector/InspectorController.cpp b/Source/core/inspector/InspectorController.cpp
index 1c578e570fbc2c98350272b5d280a8793457a9aa..d4c01d33c2a12cea6b4f6c3f9ece2ddffeae0604 100644
--- a/Source/core/inspector/InspectorController.cpp
+++ b/Source/core/inspector/InspectorController.cpp
@@ -37,6 +37,7 @@
#include "core/inspector/IdentifiersFactory.h"
#include "core/inspector/InjectedScriptHost.h"
#include "core/inspector/InjectedScriptManager.h"
+#include "core/inspector/InspectorAnimationAgent.h"
#include "core/inspector/InspectorApplicationCacheAgent.h"
#include "core/inspector/InspectorCSSAgent.h"
#include "core/inspector/InspectorCanvasAgent.h"
@@ -79,6 +80,7 @@ InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
, m_cssAgent(nullptr)
, m_resourceAgent(nullptr)
, m_layerTreeAgent(nullptr)
+ , m_animationAgent(nullptr)
, m_inspectorFrontendClient(nullptr)
, m_page(page)
, m_inspectorClient(inspectorClient)
@@ -99,7 +101,6 @@ InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
m_domAgent = domAgentPtr.get();
m_agents.append(domAgentPtr.release());
-
OwnPtrWillBeRawPtr<InspectorLayerTreeAgent> layerTreeAgentPtr(InspectorLayerTreeAgent::create(m_page));
m_layerTreeAgent = layerTreeAgentPtr.get();
m_agents.append(layerTreeAgentPtr.release());
@@ -137,6 +138,7 @@ void InspectorController::trace(Visitor* visitor)
visitor->trace(m_injectedScriptManager);
visitor->trace(m_state);
visitor->trace(m_domAgent);
+ visitor->trace(m_animationAgent);
visitor->trace(m_pageAgent);
visitor->trace(m_timelineAgent);
visitor->trace(m_cssAgent);
@@ -185,6 +187,10 @@ void InspectorController::initializeDeferredAgents()
m_cssAgent = cssAgentPtr.get();
m_agents.append(cssAgentPtr.release());
+ OwnPtrWillBeRawPtr<InspectorAnimationAgent> animationAgentPtr(InspectorAnimationAgent::create(m_domAgent));
+ m_animationAgent = animationAgentPtr.get();
+ m_agents.append(animationAgentPtr.release());
+
m_agents.append(InspectorDOMStorageAgent::create(m_pageAgent));
m_agents.append(InspectorMemoryAgent::create());
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/devtools/devtools.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698