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

Unified Diff: Source/core/inspector/InspectorInputAgent.h

Issue 1063653002: [DevTools] Cleanup after moving input to browser. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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 | « no previous file | Source/core/inspector/InspectorInputAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorInputAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698