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

Side by Side Diff: include/views/animated/SkWidgetViews.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: 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/views/SkView.h ('k') | samplecode/SampleApp.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkWidgetViews_DEFINED 10 #ifndef SkWidgetViews_DEFINED
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 int16_t fScrollIndex, fCurrIndex; 282 int16_t fScrollIndex, fCurrIndex;
283 uint16_t fVisibleRowCount, fBindingCount; 283 uint16_t fVisibleRowCount, fBindingCount;
284 SkBool8 fAnimContentDirty; 284 SkBool8 fAnimContentDirty;
285 SkBool8 fAnimFocusDirty; 285 SkBool8 fAnimFocusDirty;
286 286
287 typedef SkWidgetView INHERITED; 287 typedef SkWidgetView INHERITED;
288 }; 288 };
289 289
290 class SkListSource : public SkRefCnt { 290 class SkListSource : public SkRefCnt {
291 public: 291 public:
292 SK_DECLARE_INST_COUNT(SkListSource) 292
293 293
294 virtual int countFields(); 294 virtual int countFields();
295 virtual void getFieldName(int index, SkString* field); 295 virtual void getFieldName(int index, SkString* field);
296 /** Return the index of the named field, or -1 if not found */ 296 /** Return the index of the named field, or -1 if not found */
297 virtual int findFieldIndex(const char field[]); 297 virtual int findFieldIndex(const char field[]);
298 298
299 virtual int countRecords(); 299 virtual int countRecords();
300 virtual void getRecord(int rowIndex, int fieldIndex, SkString* data); 300 virtual void getRecord(int rowIndex, int fieldIndex, SkString* data);
301 301
302 virtual bool prepareWidgetEvent(SkEvent*, int rowIndex); 302 virtual bool prepareWidgetEvent(SkEvent*, int rowIndex);
303 303
304 static SkListSource* Factory(const char name[]); 304 static SkListSource* Factory(const char name[]);
305 private: 305 private:
306 typedef SkRefCnt INHERITED; 306 typedef SkRefCnt INHERITED;
307 }; 307 };
308 308
309 #endif 309 #endif
OLDNEW
« no previous file with comments | « include/views/SkView.h ('k') | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698