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

Side by Side Diff: Source/core/html/shadow/DateTimeFieldElement.h

Issue 159893007: Revert of Update of change event for datetime input type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 public: 52 public:
53 virtual ~FieldOwner(); 53 virtual ~FieldOwner();
54 virtual void didBlurFromField() = 0; 54 virtual void didBlurFromField() = 0;
55 virtual void didFocusOnField() = 0; 55 virtual void didFocusOnField() = 0;
56 virtual void fieldValueChanged() = 0; 56 virtual void fieldValueChanged() = 0;
57 virtual bool focusOnNextField(const DateTimeFieldElement&) = 0; 57 virtual bool focusOnNextField(const DateTimeFieldElement&) = 0;
58 virtual bool focusOnPreviousField(const DateTimeFieldElement&) = 0; 58 virtual bool focusOnPreviousField(const DateTimeFieldElement&) = 0;
59 virtual bool isFieldOwnerDisabled() const = 0; 59 virtual bool isFieldOwnerDisabled() const = 0;
60 virtual bool isFieldOwnerReadOnly() const = 0; 60 virtual bool isFieldOwnerReadOnly() const = 0;
61 virtual AtomicString localeIdentifier() const = 0; 61 virtual AtomicString localeIdentifier() const = 0;
62 virtual void fieldDidChangeValueByKeyboard() = 0;
63 }; 62 };
64 63
65 virtual void defaultEventHandler(Event*) OVERRIDE; 64 virtual void defaultEventHandler(Event*) OVERRIDE;
66 virtual bool hasValue() const = 0; 65 virtual bool hasValue() const = 0;
67 bool isDisabled() const; 66 bool isDisabled() const;
68 virtual float maximumWidth(const Font&); 67 virtual float maximumWidth(const Font&);
69 virtual void populateDateTimeFieldsState(DateTimeFieldsState&) = 0; 68 virtual void populateDateTimeFieldsState(DateTimeFieldsState&) = 0;
70 void removeEventHandler() { m_fieldOwner = 0; } 69 void removeEventHandler() { m_fieldOwner = 0; }
71 void setDisabled(); 70 void setDisabled();
72 virtual void setEmptyValue(EventBehavior = DispatchNoEvent) = 0; 71 virtual void setEmptyValue(EventBehavior = DispatchNoEvent) = 0;
(...skipping 25 matching lines...) Expand all
98 bool isFieldOwnerReadOnly() const; 97 bool isFieldOwnerReadOnly() const;
99 virtual bool supportsFocus() const OVERRIDE FINAL; 98 virtual bool supportsFocus() const OVERRIDE FINAL;
100 99
101 FieldOwner* m_fieldOwner; 100 FieldOwner* m_fieldOwner;
102 }; 101 };
103 102
104 } // namespace WebCore 103 } // namespace WebCore
105 104
106 #endif 105 #endif
107 #endif 106 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/shadow/DateTimeFieldElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698