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

Side by Side Diff: include/utils/SkRTConf.h

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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/utils/SkNWayCanvas.h ('k') | include/views/SkOSMenu.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 8
9 #ifndef SkRTConf_DEFINED 9 #ifndef SkRTConf_DEFINED
10 #define SkRTConf_DEFINED 10 #define SkRTConf_DEFINED
11 11
12 #include "../private/SkTDArray.h"
12 #include "../private/SkTDict.h" 13 #include "../private/SkTDict.h"
13 #include "SkString.h" 14 #include "SkString.h"
14 #include "SkStream.h" 15 #include "SkStream.h"
15 #include "SkTDArray.h"
16 16
17 /** \class SkRTConfBase 17 /** \class SkRTConfBase
18 Non-templated base class for the runtime configs 18 Non-templated base class for the runtime configs
19 */ 19 */
20 20
21 class SkRTConfBase { 21 class SkRTConfBase {
22 public: 22 public:
23 SkRTConfBase(const char *name) : fName(name) {} 23 SkRTConfBase(const char *name) : fName(name) {}
24 virtual ~SkRTConfBase() {} 24 virtual ~SkRTConfBase() {}
25 virtual const char *getName() const { return fName.c_str(); } 25 virtual const char *getName() const { return fName.c_str(); }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // static_cast here is okay because there's only one kind of child class. 184 // static_cast here is okay because there's only one kind of child class.
185 const SkRTConf<T> *child_pointer = static_cast<const SkRTConf<T> *>(conf); 185 const SkRTConf<T> *child_pointer = static_cast<const SkRTConf<T> *>(conf);
186 return child_pointer && 186 return child_pointer &&
187 fName == child_pointer->fName && 187 fName == child_pointer->fName &&
188 fDescription == child_pointer->fDescription && 188 fDescription == child_pointer->fDescription &&
189 fValue == child_pointer->fValue && 189 fValue == child_pointer->fValue &&
190 fDefault == child_pointer->fDefault; 190 fDefault == child_pointer->fDefault;
191 } 191 }
192 192
193 #endif 193 #endif
OLDNEW
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | include/views/SkOSMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698