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