| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/inspector/InspectorAnimationAgent.h" | 5 #include "core/inspector/InspectorAnimationAgent.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "bindings/core/v8/V8BindingForCore.h" | 8 #include "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "core/animation/Animation.h" | 9 #include "core/animation/Animation.h" |
| 10 #include "core/animation/AnimationEffectReadOnly.h" | 10 #include "core/animation/AnimationEffectReadOnly.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "core/inspector/InspectorCSSAgent.h" | 27 #include "core/inspector/InspectorCSSAgent.h" |
| 28 #include "core/inspector/InspectorStyleSheet.h" | 28 #include "core/inspector/InspectorStyleSheet.h" |
| 29 #include "core/inspector/V8InspectorString.h" | 29 #include "core/inspector/V8InspectorString.h" |
| 30 #include "platform/Decimal.h" | 30 #include "platform/Decimal.h" |
| 31 #include "platform/animation/TimingFunction.h" | 31 #include "platform/animation/TimingFunction.h" |
| 32 #include "platform/wtf/text/Base64.h" | 32 #include "platform/wtf/text/Base64.h" |
| 33 | 33 |
| 34 namespace AnimationAgentState { | 34 namespace AnimationAgentState { |
| 35 static const char animationAgentEnabled[] = "animationAgentEnabled"; | 35 static const char animationAgentEnabled[] = "animationAgentEnabled"; |
| 36 static const char animationAgentPlaybackRate[] = "animationAgentPlaybackRate"; | 36 static const char animationAgentPlaybackRate[] = "animationAgentPlaybackRate"; |
| 37 } | 37 } // namespace AnimationAgentState |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 using protocol::Response; | 41 using protocol::Response; |
| 42 | 42 |
| 43 InspectorAnimationAgent::InspectorAnimationAgent( | 43 InspectorAnimationAgent::InspectorAnimationAgent( |
| 44 InspectedFrames* inspected_frames, | 44 InspectedFrames* inspected_frames, |
| 45 InspectorCSSAgent* css_agent, | 45 InspectorCSSAgent* css_agent, |
| 46 v8_inspector::V8InspectorSession* v8_session) | 46 v8_inspector::V8InspectorSession* v8_session) |
| 47 : inspected_frames_(inspected_frames), | 47 : inspected_frames_(inspected_frames), |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 | 564 |
| 565 DEFINE_TRACE(InspectorAnimationAgent) { | 565 DEFINE_TRACE(InspectorAnimationAgent) { |
| 566 visitor->Trace(inspected_frames_); | 566 visitor->Trace(inspected_frames_); |
| 567 visitor->Trace(css_agent_); | 567 visitor->Trace(css_agent_); |
| 568 visitor->Trace(id_to_animation_); | 568 visitor->Trace(id_to_animation_); |
| 569 visitor->Trace(id_to_animation_clone_); | 569 visitor->Trace(id_to_animation_clone_); |
| 570 InspectorBaseAgent::Trace(visitor); | 570 InspectorBaseAgent::Trace(visitor); |
| 571 } | 571 } |
| 572 | 572 |
| 573 } // namespace blink | 573 } // namespace blink |
| OLD | NEW |