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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 30 matching lines...) Expand all
41 class InputType; 41 class InputType;
42 class InputTypeView; 42 class InputTypeView;
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 HTMLTextFormControlElement { 48 class CORE_EXPORT HTMLInputElement : public HTMLTextFormControlElement {
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 public: 50 public:
51 static PassRefPtrWillBeRawPtr<HTMLInputElement> create(Document&, HTMLFormEl ement*, bool createdByParser); 51 static RawPtr<HTMLInputElement> create(Document&, HTMLFormElement*, bool cre atedByParser);
52 ~HTMLInputElement() override; 52 ~HTMLInputElement() override;
53 DECLARE_VIRTUAL_TRACE(); 53 DECLARE_VIRTUAL_TRACE();
54 54
55 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange); 55 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
56 56
57 bool shouldAutocomplete() const final; 57 bool shouldAutocomplete() const final;
58 58
59 // For ValidityState 59 // For ValidityState
60 bool hasBadInput() const final; 60 bool hasBadInput() const final;
61 bool patternMismatch() const final; 61 bool patternMismatch() const final;
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 bool isRequiredFormControl() const final; 350 bool isRequiredFormControl() const final;
351 bool recalcWillValidate() const final; 351 bool recalcWillValidate() const final;
352 void requiredAttributeChanged() final; 352 void requiredAttributeChanged() final;
353 353
354 void updateTouchEventHandlerRegistry(); 354 void updateTouchEventHandlerRegistry();
355 void initializeTypeInParsing(); 355 void initializeTypeInParsing();
356 void updateType(); 356 void updateType();
357 357
358 void subtreeHasChanged() final; 358 void subtreeHasChanged() final;
359 359
360 void setListAttributeTargetObserver(PassOwnPtrWillBeRawPtr<ListAttributeTarg etObserver>); 360 void setListAttributeTargetObserver(RawPtr<ListAttributeTargetObserver>);
361 void resetListAttributeTargetObserver(); 361 void resetListAttributeTargetObserver();
362 void parseMaxLengthAttribute(const AtomicString&); 362 void parseMaxLengthAttribute(const AtomicString&);
363 void parseMinLengthAttribute(const AtomicString&); 363 void parseMinLengthAttribute(const AtomicString&);
364 void updateValueIfNeeded(); 364 void updateValueIfNeeded();
365 365
366 // Returns null if this isn't associated with any radio button group. 366 // Returns null if this isn't associated with any radio button group.
367 RadioButtonGroupScope* radioButtonGroupScope() const; 367 RadioButtonGroupScope* radioButtonGroupScope() const;
368 void addToRadioButtonGroup(); 368 void addToRadioButtonGroup();
369 void removeFromRadioButtonGroup(); 369 void removeFromRadioButtonGroup();
370 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; 370 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
(...skipping 14 matching lines...) Expand all
385 unsigned m_autocomplete : 2; // AutoCompleteSetting 385 unsigned m_autocomplete : 2; // AutoCompleteSetting
386 unsigned m_hasNonEmptyList : 1; 386 unsigned m_hasNonEmptyList : 1;
387 unsigned m_stateRestored : 1; 387 unsigned m_stateRestored : 1;
388 unsigned m_parsingInProgress : 1; 388 unsigned m_parsingInProgress : 1;
389 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; 389 unsigned m_valueAttributeWasUpdatedAfterParsing : 1;
390 unsigned m_canReceiveDroppedFiles : 1; 390 unsigned m_canReceiveDroppedFiles : 1;
391 unsigned m_hasTouchEventHandler : 1; 391 unsigned m_hasTouchEventHandler : 1;
392 unsigned m_shouldRevealPassword : 1; 392 unsigned m_shouldRevealPassword : 1;
393 unsigned m_needsToUpdateViewValue : 1; 393 unsigned m_needsToUpdateViewValue : 1;
394 unsigned m_isPlaceholderVisible : 1; 394 unsigned m_isPlaceholderVisible : 1;
395 RefPtrWillBeMember<InputType> m_inputType; 395 Member<InputType> m_inputType;
396 RefPtrWillBeMember<InputTypeView> m_inputTypeView; 396 Member<InputTypeView> m_inputTypeView;
397 // The ImageLoader must be owned by this element because the loader code ass umes 397 // The ImageLoader must be owned by this element because the loader code ass umes
398 // that it lives as long as its owning element lives. If we move the loader into 398 // that it lives as long as its owning element lives. If we move the loader into
399 // the ImageInput object we may delete the loader while this element lives o n. 399 // the ImageInput object we may delete the loader while this element lives o n.
400 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 400 Member<HTMLImageLoader> m_imageLoader;
401 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 401 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
402 }; 402 };
403 403
404 } // namespace blink 404 } // namespace blink
405 405
406 #endif // HTMLInputElement_h 406 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698