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

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

Issue 12086056: Merge 140803 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 DateTimeFieldElement(Document*, FieldOwner&); 80 DateTimeFieldElement(Document*, FieldOwner&);
81 virtual void didBlur(); 81 virtual void didBlur();
82 virtual void didFocus(); 82 virtual void didFocus();
83 void focusOnNextField(); 83 void focusOnNextField();
84 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; 84 virtual void handleKeyboardEvent(KeyboardEvent*) = 0;
85 void initialize(const AtomicString& pseudo, const String& axHelpText, int ax Minimum, int axMaximum); 85 void initialize(const AtomicString& pseudo, const String& axHelpText, int ax Minimum, int axMaximum);
86 Locale& localeForOwner() const; 86 Locale& localeForOwner() const;
87 AtomicString localeIdentifier() const; 87 AtomicString localeIdentifier() const;
88 void updateVisibleValue(EventBehavior); 88 void updateVisibleValue(EventBehavior);
89 virtual int valueAsInteger() const = 0; 89 virtual int valueAsInteger() const = 0;
90 virtual int valueForARIAValueNow() const;
90 91
91 private: 92 private:
92 void defaultKeyboardEventHandler(KeyboardEvent*); 93 void defaultKeyboardEventHandler(KeyboardEvent*);
93 virtual bool isDateTimeFieldElement() const OVERRIDE; 94 virtual bool isDateTimeFieldElement() const OVERRIDE;
94 virtual bool isFocusable() const OVERRIDE FINAL; 95 virtual bool isFocusable() const OVERRIDE FINAL;
95 virtual bool supportsFocus() const OVERRIDE FINAL; 96 virtual bool supportsFocus() const OVERRIDE FINAL;
96 97
97 FieldOwner* m_fieldOwner; 98 FieldOwner* m_fieldOwner;
98 }; 99 };
99 100
100 } // namespace WebCore 101 } // namespace WebCore
101 102
102 #endif 103 #endif
103 #endif 104 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698