Chromium Code Reviews| Index: Source/core/inspector/InspectorInputAgent.h |
| diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h |
| index 368827f22b9db79b98de643b78b56a521aec17c3..0a712c7fcdd1e143252fcfc858fa111c1c012f28 100644 |
| --- a/Source/core/inspector/InspectorInputAgent.h |
| +++ b/Source/core/inspector/InspectorInputAgent.h |
| @@ -38,7 +38,6 @@ |
| #include "wtf/text/WTFString.h" |
| namespace blink { |
| -class InspectorPageAgent; |
| class PlatformKeyboardEvent; |
|
yurys
2015/04/24 08:54:41
class LocalFrame;
|
| class PlatformMouseEvent; |
| @@ -47,9 +46,9 @@ typedef String ErrorString; |
| class InspectorInputAgent final : public InspectorBaseAgent<InspectorInputAgent, InspectorFrontend::Input>, public InspectorBackendDispatcher::InputCommandHandler { |
| WTF_MAKE_NONCOPYABLE(InspectorInputAgent); |
| public: |
| - static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(InspectorPageAgent* pageAgent) |
| + static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(LocalFrame* inspectedFrame) |
| { |
| - return adoptPtrWillBeNoop(new InspectorInputAgent(pageAgent)); |
| + return adoptPtrWillBeNoop(new InspectorInputAgent(inspectedFrame)); |
| } |
| virtual ~InspectorInputAgent(); |
| @@ -58,9 +57,9 @@ public: |
| // Methods called from the frontend for simulating input. |
| virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp) override; |
| private: |
| - explicit InspectorInputAgent(InspectorPageAgent*); |
| + explicit InspectorInputAgent(LocalFrame*); |
| - RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| + RawPtrWillBeMember<LocalFrame> m_inspectedFrame; |
| }; |