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

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

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Rebased Created 7 years, 7 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
« no previous file with comments | « chrome/browser/ui/cocoa/color_chooser_mac.mm ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/color_chooser_util.h
diff --git a/chrome/browser/ui/color_chooser_util.h b/chrome/browser/ui/color_chooser_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..634b8fe169d77f62ec63cb7cadc7724b22ca70a8
--- /dev/null
+++ b/chrome/browser/ui/color_chooser_util.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
tfarina 2013/05/20 16:45:53 Copyright 2013
+// 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_UTIL_H_
tfarina 2013/05/20 16:45:53 I'd name this file color_chooser_dialog.h
+#define CHROME_BROWSER_UI_COLOR_CHOOSER_UTIL_H_
+
+#include "third_party/skia/include/core/SkColor.h"
+
+namespace content {
+class WebContents;
+class ColorChooser;
tfarina 2013/05/20 16:45:53 sort
+}
+
+content::ColorChooser* OpenColorChooser(content::WebContents* web_contents,
Ben Goodger (Google) 2013/05/20 16:14:30 1. put this in browser/ui/browser_dialogs.h instea
tfarina 2013/05/20 16:45:53 I'd also put this in chrome namespace. I don't rec
keishi 2013/05/21 16:48:06 Done. Thanks, this looks like the perfect place to
+ SkColor initial_color);
+
+#endif // CHROME_BROWSER_UI_COLOR_CHOOSER_UTIL_H_
« no previous file with comments | « chrome/browser/ui/cocoa/color_chooser_mac.mm ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698