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

Side by Side Diff: Source/WebCore/html/ColorInputType.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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 static PassOwnPtr<InputType> create(HTMLInputElement*); 43 static PassOwnPtr<InputType> create(HTMLInputElement*);
44 virtual ~ColorInputType(); 44 virtual ~ColorInputType();
45 45
46 private: 46 private:
47 ColorInputType(HTMLInputElement* element) : InputType(element) { } 47 ColorInputType(HTMLInputElement* element) : InputType(element) { }
48 virtual bool isColorControl() const; 48 virtual bool isColorControl() const;
49 virtual const AtomicString& formControlType() const; 49 virtual const AtomicString& formControlType() const;
50 virtual bool supportsRequired() const; 50 virtual bool supportsRequired() const;
51 virtual String fallbackValue(); 51 virtual String fallbackValue();
52 virtual String sanitizeValue(const String&); 52 virtual String sanitizeValue(const String&) const;
53 virtual Color valueAsColor() const; 53 virtual Color valueAsColor() const;
54 virtual void createShadowSubtree(); 54 virtual void createShadowSubtree();
55 virtual void valueChanged(); 55 virtual void valueChanged();
56 virtual void handleClickEvent(MouseEvent*); 56 virtual void handleClickEvent(MouseEvent*);
57 virtual void handleDOMActivateEvent(Event*); 57 virtual void handleDOMActivateEvent(Event*);
58 virtual void detach(); 58 virtual void detach();
59 59
60 // ColorChooserClient implementation. 60 // ColorChooserClient implementation.
61 virtual void didChooseColor(const Color&); 61 virtual void didChooseColor(const Color&);
62 virtual bool isColorInputType() const; 62 virtual bool isColorInputType() const;
63 63
64 void cleanupColorChooserIfCurrentClient() const; 64 void cleanupColorChooserIfCurrentClient() const;
65 void updateColorSwatch(); 65 void updateColorSwatch();
66 HTMLElement* shadowColorSwatch() const; 66 HTMLElement* shadowColorSwatch() const;
67 }; 67 };
68 68
69 } // namespace WebCore 69 } // namespace WebCore
70 70
71 #endif // ENABLE(INPUT_COLOR) 71 #endif // ENABLE(INPUT_COLOR)
72 72
73 #endif // ColorInputType_h 73 #endif // ColorInputType_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-value-sanitization-expected.txt ('k') | Source/WebCore/html/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698