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

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

Issue 541993003: Generate focusin for input type=date/time when selected by tab (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master and updated test Created 6 years, 3 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual bool isOutOfRange() const OVERRIDE FINAL; 316 virtual bool isOutOfRange() const OVERRIDE FINAL;
317 317
318 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; 318 bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
319 319
320 virtual bool supportsPlaceholder() const OVERRIDE FINAL; 320 virtual bool supportsPlaceholder() const OVERRIDE FINAL;
321 virtual void updatePlaceholderText() OVERRIDE FINAL; 321 virtual void updatePlaceholderText() OVERRIDE FINAL;
322 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerEditorValue() .isEmpty(); } 322 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerEditorValue() .isEmpty(); }
323 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); } 323 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); }
324 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) OVERRID E FINAL; 324 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) OVERRID E FINAL;
325 virtual void handleBlurEvent() OVERRIDE FINAL; 325 virtual void handleBlurEvent() OVERRIDE FINAL;
326 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol dFocusedElement, FocusType) OVERRIDE FINAL;
326 327
327 virtual bool isOptionalFormControl() const OVERRIDE FINAL { return !isRequir edFormControl(); } 328 virtual bool isOptionalFormControl() const OVERRIDE FINAL { return !isRequir edFormControl(); }
328 virtual bool isRequiredFormControl() const OVERRIDE FINAL; 329 virtual bool isRequiredFormControl() const OVERRIDE FINAL;
329 virtual bool recalcWillValidate() const OVERRIDE FINAL; 330 virtual bool recalcWillValidate() const OVERRIDE FINAL;
330 virtual void requiredAttributeChanged() OVERRIDE FINAL; 331 virtual void requiredAttributeChanged() OVERRIDE FINAL;
331 332
332 void updateType(); 333 void updateType();
333 334
334 virtual void subtreeHasChanged() OVERRIDE FINAL; 335 virtual void subtreeHasChanged() OVERRIDE FINAL;
335 336
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // The ImageLoader must be owned by this element because the loader code ass umes 373 // The ImageLoader must be owned by this element because the loader code ass umes
373 // that it lives as long as its owning element lives. If we move the loader into 374 // that it lives as long as its owning element lives. If we move the loader into
374 // the ImageInput object we may delete the loader while this element lives o n. 375 // the ImageInput object we may delete the loader while this element lives o n.
375 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 376 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
376 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 377 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
377 }; 378 };
378 379
379 } // namespace blink 380 } // namespace blink
380 381
381 #endif // HTMLInputElement_h 382 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698