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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2561043002: Clean-up after Form Association Refactoring (Closed)
Patch Set: Removed constructorNeedsFormElement from scripts and HTMLTagNames Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class KURL; 43 class KURL;
44 class ListAttributeTargetObserver; 44 class ListAttributeTargetObserver;
45 class RadioButtonGroupScope; 45 class RadioButtonGroupScope;
46 struct DateTimeChooserParameters; 46 struct DateTimeChooserParameters;
47 47
48 class CORE_EXPORT HTMLInputElement : public TextControlElement { 48 class CORE_EXPORT HTMLInputElement : public TextControlElement {
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 50
51 public: 51 public:
52 static HTMLInputElement* create(Document&, 52 static HTMLInputElement* create(Document&,
53 HTMLFormElement*,
54 bool createdByParser); 53 bool createdByParser);
55 ~HTMLInputElement() override; 54 ~HTMLInputElement() override;
56 DECLARE_VIRTUAL_TRACE(); 55 DECLARE_VIRTUAL_TRACE();
57 56
58 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange); 57 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
59 58
60 bool shouldAutocomplete() const final; 59 bool shouldAutocomplete() const final;
61 60
62 // For ValidityState 61 // For ValidityState
63 bool hasBadInput() const final; 62 bool hasBadInput() const final;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 virtual void ensureFallbackContent(); 280 virtual void ensureFallbackContent();
282 virtual void ensurePrimaryContent(); 281 virtual void ensurePrimaryContent();
283 bool hasFallbackContent() const; 282 bool hasFallbackContent() const;
284 283
285 bool isPlaceholderVisible() const override { return m_isPlaceholderVisible; } 284 bool isPlaceholderVisible() const override { return m_isPlaceholderVisible; }
286 void setPlaceholderVisibility(bool) override; 285 void setPlaceholderVisibility(bool) override;
287 286
288 unsigned sizeOfRadioGroup() const; 287 unsigned sizeOfRadioGroup() const;
289 288
290 protected: 289 protected:
291 HTMLInputElement(Document&, HTMLFormElement*, bool createdByParser); 290 HTMLInputElement(Document&, bool createdByParser);
292 291
293 void defaultEventHandler(Event*) override; 292 void defaultEventHandler(Event*) override;
294 293
295 private: 294 private:
296 enum AutoCompleteSetting { Uninitialized, On, Off }; 295 enum AutoCompleteSetting { Uninitialized, On, Off };
297 296
298 void didAddUserAgentShadowRoot(ShadowRoot&) final; 297 void didAddUserAgentShadowRoot(ShadowRoot&) final;
299 298
300 void willChangeForm() final; 299 void willChangeForm() final;
301 void didChangeForm() final; 300 void didChangeForm() final;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // assumes that it lives as long as its owning element lives. If we move the 425 // assumes that it lives as long as its owning element lives. If we move the
427 // loader into the ImageInput object we may delete the loader while this 426 // loader into the ImageInput object we may delete the loader while this
428 // element lives on. 427 // element lives on.
429 Member<HTMLImageLoader> m_imageLoader; 428 Member<HTMLImageLoader> m_imageLoader;
430 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 429 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
431 }; 430 };
432 431
433 } // namespace blink 432 } // namespace blink
434 433
435 #endif // HTMLInputElement_h 434 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698