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

Side by Side Diff: include/views/SkEvent.h

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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/win/SkTScopedComPtr.h ('k') | src/core/SkEdge.cpp » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #ifndef SkEvent_DEFINED 8 #ifndef SkEvent_DEFINED
9 #define SkEvent_DEFINED 9 #define SkEvent_DEFINED
10 10
11 #include "SkDOM.h" 11 #include "SkDOM.h"
12 #include "SkMetaData.h" 12 #include "SkMetaData.h"
13 #include "SkString.h" 13 #include "SkString.h"
14 14
15 #include "../private/SkLeanWindows.h"
16
15 /** Unique 32bit id used to identify an instance of SkEventSink. When events are 17 /** Unique 32bit id used to identify an instance of SkEventSink. When events are
16 posted, they are posted to a specific sinkID. When it is time to dispatch th e 18 posted, they are posted to a specific sinkID. When it is time to dispatch th e
17 event, the sinkID is used to find the specific SkEventSink object. If it is found, 19 event, the sinkID is used to find the specific SkEventSink object. If it is found,
18 its doEvent() method is called with the event. 20 its doEvent() method is called with the event.
19 */ 21 */
20 typedef uint32_t SkEventSinkID; 22 typedef uint32_t SkEventSinkID;
21 23
22 /** 24 /**
23 * \class SkEvent 25 * \class SkEvent
24 * 26 *
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 284
283 void initialize(const char* type, size_t typeLen, SkEventSinkID); 285 void initialize(const char* type, size_t typeLen, SkEventSinkID);
284 286
285 static bool Enqueue(SkEvent* evt); 287 static bool Enqueue(SkEvent* evt);
286 static SkMSec EnqueueTime(SkEvent* evt, SkMSec time); 288 static SkMSec EnqueueTime(SkEvent* evt, SkMSec time);
287 static SkEvent* Dequeue(); 289 static SkEvent* Dequeue();
288 static bool QHasEvents(); 290 static bool QHasEvents();
289 }; 291 };
290 292
291 #endif 293 #endif
OLDNEW
« no previous file with comments | « include/utils/win/SkTScopedComPtr.h ('k') | src/core/SkEdge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698