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

Side by Side Diff: content/common/css_colors.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/common/content_export.h ('k') | content/common/database_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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
8 7
9 #include <utility> 8 #include <utility>
10 9
11 #include "base/basictypes.h" 10 #include "base/basictypes.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorName.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebColor.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebColor.h"
14 13
15 // 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.
16 class CSSColors { 15 class CSSColors {
17 public: 16 public:
18 typedef WebKit::WebColorName CSSColorName; 17 typedef WebKit::WebColorName CSSColorName;
19 typedef std::pair<CSSColorName, WebKit::WebColor> CSSColorMapping; 18 typedef std::pair<CSSColorName, WebKit::WebColor> CSSColorMapping;
20 19
21 private: 20 private:
22 DISALLOW_COPY_AND_ASSIGN(CSSColors); 21 DISALLOW_COPY_AND_ASSIGN(CSSColors);
23 }; 22 };
24 23
25 #endif // CONTENT_COMMON_CSS_COLORS_H_ 24 #endif // CONTENT_COMMON_CSS_COLORS_H_
OLDNEW
« no previous file with comments | « content/common/content_export.h ('k') | content/common/database_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698