OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_CSS_COLORS_H_ | 5 #ifndef CHROME_COMMON_CSS_COLORS_H_ |
6 #define CHROME_COMMON_CSS_COLORS_H_ | 6 #define CHROME_COMMON_CSS_COLORS_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "webkit/api/public/WebColor.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebColor.h" |
12 #include "webkit/api/public/WebColorName.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebColorName.h" |
13 | 13 |
14 // Functionality related to sending the values of CSS colors to the renderer. | 14 // Functionality related to sending the values of CSS colors to the renderer. |
15 class CSSColors { | 15 class CSSColors { |
16 public: | 16 public: |
17 typedef WebKit::WebColorName CSSColorName; | 17 typedef WebKit::WebColorName CSSColorName; |
18 typedef std::pair<CSSColorName, WebKit::WebColor> CSSColorMapping; | 18 typedef std::pair<CSSColorName, WebKit::WebColor> CSSColorMapping; |
19 | 19 |
20 private: | 20 private: |
21 DISALLOW_COPY_AND_ASSIGN(CSSColors); | 21 DISALLOW_COPY_AND_ASSIGN(CSSColors); |
22 }; | 22 }; |
23 | 23 |
24 #endif // CHROME_COMMON_CSS_COLORS_H_ | 24 #endif // CHROME_COMMON_CSS_COLORS_H_ |
25 | 25 |
OLD | NEW |