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

Side by Side Diff: cc/resources/platform_color.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/resources/memory_history.h ('k') | cc/resources/platform_color_unittest.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_RESOURCES_PLATFORM_COLOR_H_ 5 #ifndef CC_RESOURCES_PLATFORM_COLOR_H_
6 #define CC_RESOURCES_PLATFORM_COLOR_H_ 6 #define CC_RESOURCES_PLATFORM_COLOR_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/macros.h"
10 #include "cc/resources/resource_format.h" 10 #include "cc/resources/resource_format.h"
11 #include "third_party/skia/include/core/SkTypes.h" 11 #include "third_party/skia/include/core/SkTypes.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class PlatformColor { 15 class PlatformColor {
16 public: 16 public:
17 enum SourceDataFormat { 17 enum SourceDataFormat {
18 SOURCE_FORMAT_RGBA8, 18 SOURCE_FORMAT_RGBA8,
19 SOURCE_FORMAT_BGRA8 19 SOURCE_FORMAT_BGRA8
(...skipping 28 matching lines...) Expand all
48 return false; 48 return false;
49 } 49 }
50 50
51 private: 51 private:
52 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor); 52 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor);
53 }; 53 };
54 54
55 } // namespace cc 55 } // namespace cc
56 56
57 #endif // CC_RESOURCES_PLATFORM_COLOR_H_ 57 #endif // CC_RESOURCES_PLATFORM_COLOR_H_
OLDNEW
« no previous file with comments | « cc/resources/memory_history.h ('k') | cc/resources/platform_color_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698