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

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

Issue 11557024: Merge 136808 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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/WebCore/html/shadow/DateTimeFieldElement.h
===================================================================
--- Source/WebCore/html/shadow/DateTimeFieldElement.h (revision 137540)
+++ Source/WebCore/html/shadow/DateTimeFieldElement.h (working copy)
@@ -34,6 +34,7 @@
class DateComponents;
class DateTimeFieldsState;
+class Font;
// DateTimeFieldElement is base class of date time field element.
class DateTimeFieldElement : public HTMLElement {
@@ -62,6 +63,7 @@
virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool hasValue() const = 0;
bool isReadOnly() const;
+ virtual float maximumWidth(const Font&);
virtual void populateDateTimeFieldsState(DateTimeFieldsState&) = 0;
void removeEventHandler() { m_fieldOwner = 0; }
void setReadOnly();
@@ -89,6 +91,7 @@
private:
void defaultKeyboardEventHandler(KeyboardEvent*);
+ virtual bool isDateTimeFieldElement() const OVERRIDE;
virtual bool isFocusable() const OVERRIDE FINAL;
bool isRTL() const;
virtual bool supportsFocus() const OVERRIDE FINAL;
« no previous file with comments | « Source/WebCore/html/shadow/DateTimeEditElement.cpp ('k') | Source/WebCore/html/shadow/DateTimeFieldElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698