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

Unified Diff: third_party/WebKit/Source/core/html/forms/ColorInputType.cpp

Issue 2424983004: Introduce enum InputType::ValueMode. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
index 90b15ba32c8574449eed44fc3e992de234ba49a1..d70aeafeabb5f7c2b2bf224de80519587434806f 100644
--- a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
@@ -93,6 +93,10 @@ InputTypeView* ColorInputType::createView() {
return this;
}
+InputType::ValueMode ColorInputType::valueMode() const {
+ return ValueMode::kValue;
+}
+
void ColorInputType::countUsage() {
countUsageIfVisible(UseCounter::InputTypeColor);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/ColorInputType.h ('k') | third_party/WebKit/Source/core/html/forms/FileInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698