OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual void attributeChanged(); | 112 virtual void attributeChanged(); |
113 virtual void multipleAttributeChanged(); | 113 virtual void multipleAttributeChanged(); |
114 virtual void disabledAttributeChanged(); | 114 virtual void disabledAttributeChanged(); |
115 virtual void readonlyAttributeChanged(); | 115 virtual void readonlyAttributeChanged(); |
116 virtual void requiredAttributeChanged(); | 116 virtual void requiredAttributeChanged(); |
117 virtual void valueAttributeChanged(); | 117 virtual void valueAttributeChanged(); |
118 virtual void listAttributeTargetChanged(); | 118 virtual void listAttributeTargetChanged(); |
119 virtual void updateClearButtonVisibility(); | 119 virtual void updateClearButtonVisibility(); |
120 virtual void updatePlaceholderText(); | 120 virtual void updatePlaceholderText(); |
121 virtual AXObject* popupRootAXObject(); | 121 virtual AXObject* popupRootAXObject(); |
| 122 virtual void ensureFallbackContent() { }; |
| 123 virtual void ensurePrimaryContent() { }; |
| 124 virtual bool hasFallbackContent() const { return false; }; |
122 | 125 |
123 protected: | 126 protected: |
124 InputTypeView(HTMLInputElement& element) : m_element(&element) { } | 127 InputTypeView(HTMLInputElement& element) : m_element(&element) { } |
125 HTMLInputElement& element() const { return *m_element; } | 128 HTMLInputElement& element() const { return *m_element; } |
126 | 129 |
127 private: | 130 private: |
128 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView | 131 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView |
129 // object. | 132 // object. |
130 RawPtrWillBeMember<HTMLInputElement> m_element; | 133 RawPtrWillBeMember<HTMLInputElement> m_element; |
131 }; | 134 }; |
132 | 135 |
133 } // namespace blink | 136 } // namespace blink |
134 #endif | 137 #endif |
OLD | NEW |