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

Side by Side Diff: include/views/SkEventSink.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/utils/SkLayer.h ('k') | include/views/SkView.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 SkEventSink_DEFINED 10 #ifndef SkEventSink_DEFINED
11 #define SkEventSink_DEFINED 11 #define SkEventSink_DEFINED
12 12
13 #include "SkRefCnt.h" 13 #include "SkRefCnt.h"
14 #include "SkEvent.h" 14 #include "SkEvent.h"
15 15
16 struct SkTagList; 16 struct SkTagList;
17 17
18 /** \class SkEventSink 18 /** \class SkEventSink
19 19
20 SkEventSink is the base class for all objects that receive SkEvents. 20 SkEventSink is the base class for all objects that receive SkEvents.
21 */ 21 */
22 class SkEventSink : public SkRefCnt { 22 class SkEventSink : public SkRefCnt {
23 public: 23 public:
24 SK_DECLARE_INST_COUNT(SkEventSink) 24
25 25
26 SkEventSink(); 26 SkEventSink();
27 virtual ~SkEventSink(); 27 virtual ~SkEventSink();
28 28
29 /** 29 /**
30 * Returns this eventsink's unique ID. Use this to post SkEvents to 30 * Returns this eventsink's unique ID. Use this to post SkEvents to
31 * this eventsink. 31 * this eventsink.
32 */ 32 */
33 SkEventSinkID getSinkID() const { return fID; } 33 SkEventSinkID getSinkID() const { return fID; }
34 34
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 SkEventSinkID fID; 103 SkEventSinkID fID;
104 SkTagList* fTagHead; 104 SkTagList* fTagHead;
105 105
106 // for our private link-list 106 // for our private link-list
107 SkEventSink* fNextSink; 107 SkEventSink* fNextSink;
108 108
109 typedef SkRefCnt INHERITED; 109 typedef SkRefCnt INHERITED;
110 }; 110 };
111 111
112 #endif 112 #endif
OLDNEW
« no previous file with comments | « include/utils/SkLayer.h ('k') | include/views/SkView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698