Index: Source/core/inspector/InspectorInputAgent.h |
diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h |
index 4ae8753a526c162490d4353c164ec55e1c7f6983..2bb1256479f6a94fc14e2acff1742d5157ac8ff2 100644 |
--- a/Source/core/inspector/InspectorInputAgent.h |
+++ b/Source/core/inspector/InspectorInputAgent.h |
@@ -42,7 +42,7 @@ class Page; |
typedef String ErrorString; |
-class InspectorInputAgent : public InspectorBaseAgent<InspectorInputAgent>, public InspectorBackendDispatcher::InputCommandHandler { |
+class InspectorInputAgent FINAL : public InspectorBaseAgent<InspectorInputAgent>, public InspectorBackendDispatcher::InputCommandHandler { |
WTF_MAKE_NONCOPYABLE(InspectorInputAgent); |
public: |
static PassOwnPtr<InspectorInputAgent> create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* inspectorState, Page* page, InspectorClient* client) |
@@ -50,13 +50,13 @@ public: |
return adoptPtr(new InspectorInputAgent(instrumentingAgents, inspectorState, page, client)); |
} |
- ~InspectorInputAgent(); |
+ virtual ~InspectorInputAgent(); |
// 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 int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const int* macCharCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey); |
- virtual void dispatchMouseEvent(ErrorString*, const String& type, int x, int y, const int* modifiers, const double* timestamp, const String* button, const int* clickCount, const bool* deviceSpace); |
- virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp); |
- virtual void dispatchGestureEvent(ErrorString*, const String& type, int x, int y, const double* timestamp, const int* deltaX, const int* deltaY, const double* scale); |
+ virtual void dispatchKeyEvent(ErrorString*, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const int* macCharCode, 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, const bool* deviceSpace) OVERRIDE; |
+ virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp) OVERRIDE; |
+ virtual void dispatchGestureEvent(ErrorString*, const String& type, int x, int y, const double* timestamp, const int* deltaX, const int* deltaY, const double* scale) OVERRIDE; |
private: |
InspectorInputAgent(InstrumentingAgents*, InspectorCompositeState*, Page*, InspectorClient*); |