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

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

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added content::ColorChooser Created 8 years, 10 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: chrome/browser/ui/color_chooser.h
diff --git a/chrome/browser/ui/color_chooser.h b/chrome/browser/ui/color_chooser.h
new file mode 100644
index 0000000000000000000000000000000000000000..19b388ac1f2c35e09e77ce43a7bb31d2efa0a476
--- /dev/null
+++ b/chrome/browser/ui/color_chooser.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 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.
+
+#ifndef CHROME_BROWSER_UI_COLOR_CHOOSER_H_
+#define CHROME_BROWSER_UI_COLOR_CHOOSER_H_
+#pragma once
+
+#include "content/public/browser/color_chooser.h"
+
+class RenderViewHost;
+
+// Abstraction object for color choosers for each platforms.
+class ColorChooser : public content::ColorChooser {
+ public:
+ static ColorChooser* Create(
+ int identifier, RenderViewHost* rvh, SkColor initial_color);
+};
+
+#endif // CHROME_BROWSER_UI_COLOR_CHOOSER_H_

Powered by Google App Engine
This is Rietveld 408576698