Index: Source/core/html/BaseClickableWithKeyInputType.h |
diff --git a/Source/core/html/BaseClickableWithKeyInputType.h b/Source/core/html/BaseClickableWithKeyInputType.h |
index bf76f55c3f195ae73635ee57987705c1112e909f..fab9a256767d1e9f332c104fe7bf9b5265b8ecd3 100644 |
--- a/Source/core/html/BaseClickableWithKeyInputType.h |
+++ b/Source/core/html/BaseClickableWithKeyInputType.h |
@@ -32,19 +32,20 @@ |
#define BaseClickableWithKeyInputType_h |
#include "core/html/InputType.h" |
+#include "heap/Handle.h" |
namespace WebCore { |
// Base of input types that dispatches a simulated click on space/return key. |
class BaseClickableWithKeyInputType : public InputType { |
public: |
- static void handleKeydownEvent(HTMLInputElement*, KeyboardEvent*); |
- static void handleKeypressEvent(HTMLInputElement*, KeyboardEvent*); |
+ static void handleKeydownEvent(Handle<HTMLInputElement>, KeyboardEvent*); |
+ static void handleKeypressEvent(Handle<HTMLInputElement>, KeyboardEvent*); |
static void handleKeyupEvent(InputType&, KeyboardEvent*); |
- static void accessKeyAction(HTMLInputElement*, bool sendMouseEvents); |
+ static void accessKeyAction(Handle<HTMLInputElement>, bool sendMouseEvents); |
protected: |
- BaseClickableWithKeyInputType(HTMLInputElement* element) : InputType(element) { } |
+ BaseClickableWithKeyInputType(const Handle<HTMLInputElement>&); |
private: |
virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE; |