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

Unified Diff: Source/core/html/shadow/DateTimeFieldElement.h

Issue 191293011: Value set in onblur should not keep element in focus (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: SetFocus handler implementation for DateTimeFieldElement Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/shadow/DateTimeFieldElement.h
diff --git a/Source/core/html/shadow/DateTimeFieldElement.h b/Source/core/html/shadow/DateTimeFieldElement.h
index 66ff3b7918420bd95c5a121a1cdfc86e74b0e66e..94812f1f3795af5adeec3e017370618c01039910 100644
--- a/Source/core/html/shadow/DateTimeFieldElement.h
+++ b/Source/core/html/shadow/DateTimeFieldElement.h
@@ -79,8 +79,7 @@ public:
protected:
DateTimeFieldElement(Document&, FieldOwner&);
- virtual void didBlur();
- virtual void didFocus();
+ virtual void setFocus(bool) OVERRIDE;
void focusOnNextField();
virtual void handleKeyboardEvent(KeyboardEvent*) = 0;
void initialize(const AtomicString& pseudo, const String& axHelpText, int axMinimum, int axMaximum);
@@ -96,7 +95,6 @@ private:
bool isFieldOwnerDisabled() const;
bool isFieldOwnerReadOnly() const;
virtual bool supportsFocus() const OVERRIDE FINAL;
-
tkent 2014/03/31 04:17:08 nit: Please do not remove the blank line. We usua
Habib Virji 2014/03/31 09:05:51 Done.
FieldOwner* m_fieldOwner;
};

Powered by Google App Engine
This is Rietveld 408576698