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

Unified Diff: chrome/browser/ui/color_chooser.cc

Issue 7685006: Implement input type=color UI (common part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: forgot to turn off flag Created 9 years, 1 month 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: chrome/browser/ui/color_chooser.cc
diff --git a/chrome/browser/ui/color_chooser.cc b/chrome/browser/ui/color_chooser.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f4cdfbb97f23ac517826de74eea1efceeedf7171
--- /dev/null
+++ b/chrome/browser/ui/color_chooser.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/color_chooser.h"
+
+#if defined(ENABLE_INPUT_COLOR)
+
+ColorChooser::~ColorChooser() {}
+
+void ColorChooser::open(Listener* listener, WebKit::WebColor initial_color) {
+ openImpl(listener, initial_color);
+}
+
+void ColorChooser::cleanup(Listener* listener) {
+ cleanupImpl(listener);
+}
+
+void ColorChooser::setSelectedColor(WebKit::WebColor color) {
+ setSelectedColorImpl(color);
+}
+
+#endif // defined(ENABLE_INPUT_COLOR)

Powered by Google App Engine
This is Rietveld 408576698