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

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

Issue 672163002: Fix bug where form/fieldset :valid/:invalid won't be recalculated upon control's willValidate change Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout tests to catch the problem Created 6 years, 2 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 virtual void defaultEventHandler(Event*) override; 258 virtual void defaultEventHandler(Event*) override;
259 259
260 private: 260 private:
261 enum AutoCompleteSetting { Uninitialized, On, Off }; 261 enum AutoCompleteSetting { Uninitialized, On, Off };
262 262
263 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override final; 263 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override final;
264 virtual void willAddFirstAuthorShadowRoot() override final; 264 virtual void willAddFirstAuthorShadowRoot() override final;
265 265
266 virtual void willChangeForm() override final; 266 virtual void willChangeForm() override final;
267 virtual void didChangeForm() override final; 267 virtual void didChangeForm(HTMLFormElement* oldForm) override final;
268 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 268 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
269 virtual void removedFrom(ContainerNode*) override final; 269 virtual void removedFrom(ContainerNode*) override final;
270 virtual void didMoveToNewDocument(Document& oldDocument) override final; 270 virtual void didMoveToNewDocument(Document& oldDocument) override final;
271 virtual void removeAllEventListeners() override final; 271 virtual void removeAllEventListeners() override final;
272 272
273 virtual bool hasCustomFocusLogic() const override final; 273 virtual bool hasCustomFocusLogic() const override final;
274 virtual bool isKeyboardFocusable() const override final; 274 virtual bool isKeyboardFocusable() const override final;
275 virtual bool shouldShowFocusRingOnMouseFocus() const override final; 275 virtual bool shouldShowFocusRingOnMouseFocus() const override final;
276 virtual bool isEnumeratable() const override final; 276 virtual bool isEnumeratable() const override final;
277 virtual bool isInteractiveContent() const override final; 277 virtual bool isInteractiveContent() const override final;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // The ImageLoader must be owned by this element because the loader code ass umes 379 // The ImageLoader must be owned by this element because the loader code ass umes
380 // that it lives as long as its owning element lives. If we move the loader into 380 // that it lives as long as its owning element lives. If we move the loader into
381 // the ImageInput object we may delete the loader while this element lives o n. 381 // the ImageInput object we may delete the loader while this element lives o n.
382 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 382 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
383 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 383 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
384 }; 384 };
385 385
386 } // namespace blink 386 } // namespace blink
387 387
388 #endif // HTMLInputElement_h 388 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698