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

Side by Side Diff: include/private/SkTLogic.h

Issue 1217293004: Move headers used by headers in include/ to include/private. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: move SkChecksum too Created 5 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
« no previous file with comments | « include/private/SkTHash.h ('k') | include/views/SkOSWindow_Win.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 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 * 7 *
8 * This header provides some of the helpers (std::integral_constant) and 8 * This header provides some of the helpers (std::integral_constant) and
9 * type transformations (std::conditional) which will become available with 9 * type transformations (std::conditional) which will become available with
10 * C++11 in the type_traits header. 10 * C++11 in the type_traits header.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #define SK_CREATE_TYPE_DETECTOR(type) \ 102 #define SK_CREATE_TYPE_DETECTOR(type) \
103 template <typename T> \ 103 template <typename T> \
104 class HasType_##type { \ 104 class HasType_##type { \
105 template <typename U> static uint8_t func(typename U::type*); \ 105 template <typename U> static uint8_t func(typename U::type*); \
106 template <typename U> static uint16_t func(...); \ 106 template <typename U> static uint16_t func(...); \
107 public: \ 107 public: \
108 static const bool value = sizeof(func<T>(NULL)) == sizeof(uint8_t); \ 108 static const bool value = sizeof(func<T>(NULL)) == sizeof(uint8_t); \
109 } 109 }
110 110
111 #endif 111 #endif
OLDNEW
« no previous file with comments | « include/private/SkTHash.h ('k') | include/views/SkOSWindow_Win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698