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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2905233002: Remove the lifetime hack in ImageLoader where it keeps its assoc element alive (Closed)
Patch Set: Rebase Created 3 years, 7 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: third_party/WebKit/Source/core/html/HTMLInputElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.h b/third_party/WebKit/Source/core/html/HTMLInputElement.h
index 0d29aa42872078c688a19cb62b4780d85f984dcc..71982f3e909b8700143741f6a790f4b55dc9d9c1 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.h
@@ -30,6 +30,7 @@
#include "core/html/TextControlElement.h"
#include "core/html/forms/StepRange.h"
#include "platform/FileChooser.h"
+#include "platform/bindings/ActiveScriptWrappable.h"
namespace blink {
@@ -46,14 +47,19 @@ class ListAttributeTargetObserver;
class RadioButtonGroupScope;
struct DateTimeChooserParameters;
-class CORE_EXPORT HTMLInputElement : public TextControlElement {
+class CORE_EXPORT HTMLInputElement
+ : public TextControlElement,
+ public ActiveScriptWrappable<HTMLInputElement> {
DEFINE_WRAPPERTYPEINFO();
+ USING_GARBAGE_COLLECTED_MIXIN(HTMLInputElement);
public:
static HTMLInputElement* Create(Document&, bool created_by_parser);
~HTMLInputElement() override;
DECLARE_VIRTUAL_TRACE();
+ bool HasPendingActivity() const final;
+
DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
bool ShouldAutocomplete() const final;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLEmbedElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698