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

Side by Side Diff: content/public/browser/color_chooser.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed Created 8 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_
6 #define CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_
7 #pragma once
8
9 #include "third_party/skia/include/core/SkColor.h"
10
11 class RenderViewHost;
12
13 namespace content {
14
15 // Abstraction object for color choosers for each platforms.
16 class ColorChooser {
17 public:
18 virtual ~ColorChooser() {}
19
20 virtual int GetIdentifier() const = 0;
Peter Kasting 2012/02/29 01:40:07 Nit: Add comments about what these APIs mean.
keishi 2012/02/29 13:05:22 Done.
21
22 virtual void End() = 0;
23 virtual void SetSelectedColor(SkColor color) = 0;
24 };
25
26 }
27
28 #endif // CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698