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

Unified Diff: Source/core/html/BaseClickableWithKeyInputType.h

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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
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;
« no previous file with comments | « Source/core/html/BaseChooserOnlyDateAndTimeInputType.h ('k') | Source/core/html/BaseClickableWithKeyInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698