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

Side by Side Diff: Source/WebCore/html/TextFieldInputType.h

Issue 11415195: Merge 135829 - :read-only selector should match to date/time input types (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 unified diff | Download patch
« no previous file with comments | « Source/WebCore/html/InputType.cpp ('k') | Source/WebCore/html/TextFieldInputType.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual HTMLElement* speechButtonElement() const OVERRIDE; 57 virtual HTMLElement* speechButtonElement() const OVERRIDE;
58 #endif 58 #endif
59 59
60 protected: 60 protected:
61 virtual bool needsContainer() const; 61 virtual bool needsContainer() const;
62 virtual bool shouldHaveSpinButton() const; 62 virtual bool shouldHaveSpinButton() const;
63 virtual void createShadowSubtree() OVERRIDE; 63 virtual void createShadowSubtree() OVERRIDE;
64 virtual void destroyShadowSubtree() OVERRIDE; 64 virtual void destroyShadowSubtree() OVERRIDE;
65 virtual void disabledAttributeChanged() OVERRIDE; 65 virtual void disabledAttributeChanged() OVERRIDE;
66 virtual void readonlyAttributeChanged() OVERRIDE; 66 virtual void readonlyAttributeChanged() OVERRIDE;
67 virtual bool supportsReadOnly() const OVERRIDE;
67 virtual void handleBlurEvent() OVERRIDE; 68 virtual void handleBlurEvent() OVERRIDE;
68 virtual void updateInnerTextValue() OVERRIDE; 69 virtual void updateInnerTextValue() OVERRIDE;
69 70
70 private: 71 private:
71 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; 72 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE;
72 virtual bool isMouseFocusable() const OVERRIDE; 73 virtual bool isMouseFocusable() const OVERRIDE;
73 virtual bool isTextField() const OVERRIDE; 74 virtual bool isTextField() const OVERRIDE;
74 virtual bool valueMissing(const String&) const OVERRIDE; 75 virtual bool valueMissing(const String&) const OVERRIDE;
75 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID E; 76 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID E;
76 virtual void forwardEvent(Event*) OVERRIDE; 77 virtual void forwardEvent(Event*) OVERRIDE;
(...skipping 21 matching lines...) Expand all
98 RefPtr<HTMLElement> m_placeholder; 99 RefPtr<HTMLElement> m_placeholder;
99 RefPtr<SpinButtonElement> m_innerSpinButton; 100 RefPtr<SpinButtonElement> m_innerSpinButton;
100 #if ENABLE(INPUT_SPEECH) 101 #if ENABLE(INPUT_SPEECH)
101 RefPtr<HTMLElement> m_speechButton; 102 RefPtr<HTMLElement> m_speechButton;
102 #endif 103 #endif
103 }; 104 };
104 105
105 } // namespace WebCore 106 } // namespace WebCore
106 107
107 #endif // TextFieldInputType_h 108 #endif // TextFieldInputType_h
OLDNEW
« no previous file with comments | « Source/WebCore/html/InputType.cpp ('k') | Source/WebCore/html/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698