Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 CHROME_BROWSER_UI_COLOR_CHOOSER_H_ | |
| 6 #define CHROME_BROWSER_UI_COLOR_CHOOSER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "content/public/browser/color_chooser.h" | |
| 10 | |
| 11 namespace content { | |
| 12 class WebContents; | |
| 13 } | |
| 14 | |
| 15 // Abstraction object for color choosers for each platforms. | |
| 16 class ColorChooser : public content::ColorChooser { | |
|
Peter Kasting
2012/02/29 01:40:07
Why do you need this second abstraction layer? Wh
keishi
2012/02/29 13:05:22
I was thinking that too. Removed ColorChooser clas
| |
| 17 public: | |
| 18 static ColorChooser* Create( | |
| 19 int identifier, content::WebContents* tab, SkColor initial_color); | |
| 20 }; | |
| 21 | |
| 22 #endif // CHROME_BROWSER_UI_COLOR_CHOOSER_H_ | |
| OLD | NEW |