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

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

Issue 2093383002: Implement disabledAttributeChanged() in HTMLInputElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test file. Created 4 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 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 void handleFocusEvent(Element* oldFocusedElement, WebFocusType) final; 344 void handleFocusEvent(Element* oldFocusedElement, WebFocusType) final;
345 void handleBlurEvent() final; 345 void handleBlurEvent() final;
346 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused Element, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final; 346 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused Element, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final;
347 bool supportsAutocapitalize() const final; 347 bool supportsAutocapitalize() const final;
348 const AtomicString& defaultAutocapitalize() const final; 348 const AtomicString& defaultAutocapitalize() const final;
349 349
350 bool isOptionalFormControl() const final { return !isRequiredFormControl(); } 350 bool isOptionalFormControl() const final { return !isRequiredFormControl(); }
351 bool isRequiredFormControl() const final; 351 bool isRequiredFormControl() const final;
352 bool recalcWillValidate() const final; 352 bool recalcWillValidate() const final;
353 void requiredAttributeChanged() final; 353 void requiredAttributeChanged() final;
354 void disabledAttributeChanged() final;
354 355
355 void updateTouchEventHandlerRegistry(); 356 void updateTouchEventHandlerRegistry();
356 void initializeTypeInParsing(); 357 void initializeTypeInParsing();
357 void updateType(); 358 void updateType();
358 359
359 void subtreeHasChanged() final; 360 void subtreeHasChanged() final;
360 361
361 void setListAttributeTargetObserver(ListAttributeTargetObserver*); 362 void setListAttributeTargetObserver(ListAttributeTargetObserver*);
362 void resetListAttributeTargetObserver(); 363 void resetListAttributeTargetObserver();
363 void parseMaxLengthAttribute(const AtomicString&); 364 void parseMaxLengthAttribute(const AtomicString&);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // The ImageLoader must be owned by this element because the loader code ass umes 400 // The ImageLoader must be owned by this element because the loader code ass umes
400 // that it lives as long as its owning element lives. If we move the loader into 401 // that it lives as long as its owning element lives. If we move the loader into
401 // the ImageInput object we may delete the loader while this element lives o n. 402 // the ImageInput object we may delete the loader while this element lives o n.
402 Member<HTMLImageLoader> m_imageLoader; 403 Member<HTMLImageLoader> m_imageLoader;
403 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 404 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
404 }; 405 };
405 406
406 } // namespace blink 407 } // namespace blink
407 408
408 #endif // HTMLInputElement_h 409 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698