OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 class RenderViewHost; | 12 class RenderViewHost; |
14 class WebContents; | 13 class WebContents; |
15 | 14 |
16 // Abstraction object for color choosers for each platform. | 15 // Abstraction object for color choosers for each platform. |
17 class ColorChooser { | 16 class ColorChooser { |
(...skipping 20 matching lines...) Expand all Loading... |
38 // Sets the selected color. | 37 // Sets the selected color. |
39 virtual void SetSelectedColor(SkColor color) = 0; | 38 virtual void SetSelectedColor(SkColor color) = 0; |
40 | 39 |
41 private: | 40 private: |
42 int identifier_; | 41 int identifier_; |
43 }; | 42 }; |
44 | 43 |
45 } | 44 } |
46 | 45 |
47 #endif // CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ | 46 #endif // CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ |
OLD | NEW |