| Index: Source/core/inspector/InspectorInputAgent.h
|
| diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h
|
| index c457b731b21a7e421e213d5f0052a0977a83a9eb..368827f22b9db79b98de643b78b56a521aec17c3 100644
|
| --- a/Source/core/inspector/InspectorInputAgent.h
|
| +++ b/Source/core/inspector/InspectorInputAgent.h
|
| @@ -47,31 +47,20 @@ typedef String ErrorString;
|
| class InspectorInputAgent final : public InspectorBaseAgent<InspectorInputAgent, InspectorFrontend::Input>, public InspectorBackendDispatcher::InputCommandHandler {
|
| WTF_MAKE_NONCOPYABLE(InspectorInputAgent);
|
| public:
|
| - class Client {
|
| - public:
|
| - virtual ~Client() { }
|
| -
|
| - virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) { }
|
| - virtual void dispatchMouseEvent(const PlatformMouseEvent&) { }
|
| - };
|
| -
|
| - static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(InspectorPageAgent* pageAgent, Client* client)
|
| + static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorInputAgent(pageAgent, client));
|
| + return adoptPtrWillBeNoop(new InspectorInputAgent(pageAgent));
|
| }
|
|
|
| virtual ~InspectorInputAgent();
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| // Methods called from the frontend for simulating input.
|
| - virtual void dispatchKeyEvent(ErrorString*, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const String* code, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) override;
|
| - virtual void dispatchMouseEvent(ErrorString*, const String& type, int x, int y, const int* modifiers, const double* timestamp, const String* button, const int* clickCount) override;
|
| virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp) override;
|
| private:
|
| - InspectorInputAgent(InspectorPageAgent*, Client*);
|
| + explicit InspectorInputAgent(InspectorPageAgent*);
|
|
|
| RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| - Client* m_client;
|
| };
|
|
|
|
|
|
|