| Index: Source/core/inspector/InspectorInputAgent.h
|
| diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h
|
| index f74858e04be679dd6d52e1b452a4340fb5a33408..368827f22b9db79b98de643b78b56a521aec17c3 100644
|
| --- a/Source/core/inspector/InspectorInputAgent.h
|
| +++ b/Source/core/inspector/InspectorInputAgent.h
|
| @@ -38,16 +38,18 @@
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| -class LocalFrame;
|
| +class InspectorPageAgent;
|
| +class PlatformKeyboardEvent;
|
| +class PlatformMouseEvent;
|
|
|
| typedef String ErrorString;
|
|
|
| class InspectorInputAgent final : public InspectorBaseAgent<InspectorInputAgent, InspectorFrontend::Input>, public InspectorBackendDispatcher::InputCommandHandler {
|
| WTF_MAKE_NONCOPYABLE(InspectorInputAgent);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(LocalFrame* inspectedFrame)
|
| + static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorInputAgent(inspectedFrame));
|
| + return adoptPtrWillBeNoop(new InspectorInputAgent(pageAgent));
|
| }
|
|
|
| virtual ~InspectorInputAgent();
|
| @@ -56,9 +58,9 @@
|
| // 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(LocalFrame*);
|
| + explicit InspectorInputAgent(InspectorPageAgent*);
|
|
|
| - RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| };
|
|
|
|
|
|
|