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

Unified Diff: chrome/browser/ui/cocoa/color_utils.h

Issue 7687006: Implement input type=color UI (mac part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebaselined 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
« no previous file with comments | « chrome/browser/ui/cocoa/color_chooser_mac.mm ('k') | chrome/browser/ui/cocoa/color_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/color_utils.h
diff --git a/chrome/browser/ui/cocoa/color_utils.h b/chrome/browser/ui/cocoa/color_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..6e2dde989a8a43b4790bed823e899e7ffb3d6226
--- /dev/null
+++ b/chrome/browser/ui/cocoa/color_utils.h
@@ -0,0 +1,16 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_COCOA_COLOR_UTILS_H_
+#define CHROME_BROWSER_UI_COCOA_COLOR_UTILS_H_
+#pragma once
+
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebColor.h"
+
+#import <Cocoa/Cocoa.h>
+
+WebKit::WebColor WebColorFromNSColor(NSColor *color);
+NSColor *NSColorFromWebColor(WebKit::WebColor color);
+
+#endif // CHROME_BROWSER_UI_COCOA_COLOR_UTILS_H_
« no previous file with comments | « chrome/browser/ui/cocoa/color_chooser_mac.mm ('k') | chrome/browser/ui/cocoa/color_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698