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

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

Issue 8336009: Merge 97351 - REGRESSION(r89915): <input type=email multiple> don't show the default value (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « Source/WebCore/html/RangeInputType.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void readonlyAttributeChanged(); 64 virtual void readonlyAttributeChanged();
65 65
66 private: 66 private:
67 virtual bool isTextField() const; 67 virtual bool isTextField() const;
68 virtual bool valueMissing(const String&) const; 68 virtual bool valueMissing(const String&) const;
69 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); 69 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*);
70 virtual void forwardEvent(Event*); 70 virtual void forwardEvent(Event*);
71 virtual bool shouldSubmitImplicitly(Event*); 71 virtual bool shouldSubmitImplicitly(Event*);
72 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const; 72 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const;
73 virtual bool shouldUseInputMethod() const; 73 virtual bool shouldUseInputMethod() const;
74 virtual String sanitizeValue(const String&); 74 virtual String sanitizeValue(const String&) const;
75 virtual bool shouldRespectListAttribute(); 75 virtual bool shouldRespectListAttribute();
76 virtual HTMLElement* placeholderElement() const; 76 virtual HTMLElement* placeholderElement() const;
77 virtual void updatePlaceholderText(); 77 virtual void updatePlaceholderText();
78 78
79 RefPtr<HTMLElement> m_container; 79 RefPtr<HTMLElement> m_container;
80 RefPtr<HTMLElement> m_innerBlock; 80 RefPtr<HTMLElement> m_innerBlock;
81 RefPtr<HTMLElement> m_innerText; 81 RefPtr<HTMLElement> m_innerText;
82 RefPtr<HTMLElement> m_placeholder; 82 RefPtr<HTMLElement> m_placeholder;
83 RefPtr<SpinButtonElement> m_innerSpinButton; 83 RefPtr<SpinButtonElement> m_innerSpinButton;
84 #if ENABLE(INPUT_SPEECH) 84 #if ENABLE(INPUT_SPEECH)
85 RefPtr<HTMLElement> m_speechButton; 85 RefPtr<HTMLElement> m_speechButton;
86 #endif 86 #endif
87 }; 87 };
88 88
89 } // namespace WebCore 89 } // namespace WebCore
90 90
91 #endif // TextFieldInputType_h 91 #endif // TextFieldInputType_h
OLDNEW
« no previous file with comments | « Source/WebCore/html/RangeInputType.cpp ('k') | Source/WebCore/html/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698