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

Side by Side Diff: Source/core/html/forms/InputTypeView.h

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698