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

Side by Side Diff: include/utils/win/SkIStream.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/SkHRESULT.h ('k') | include/utils/win/SkTScopedComPtr.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 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 SkIStream_DEFINED 10 #ifndef SkIStream_DEFINED
11 #define SkIStream_DEFINED 11 #define SkIStream_DEFINED
12 12
13 #include "SkTypes.h" 13 #include "SkTypes.h"
14 14
15 #ifdef SK_BUILD_FOR_WIN 15 #ifdef SK_BUILD_FOR_WIN
16 16
17 #define WIN32_LEAN_AND_MEAN 17 #include "../../private/SkLeanWindows.h"
18 #include <windows.h>
19 #include <ole2.h> 18 #include <ole2.h>
20 19
21 class SkStream; 20 class SkStream;
22 class SkWStream; 21 class SkWStream;
23 22
24 /** 23 /**
25 * A bare IStream implementation which properly reference counts 24 * A bare IStream implementation which properly reference counts
26 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. 25 * but returns E_NOTIMPL for all ISequentialStream and IStream methods.
27 */ 26 */
28 class SkBaseIStream : public IStream { 27 class SkBaseIStream : public IStream {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 , ULONG* pcbWritten); 126 , ULONG* pcbWritten);
128 127
129 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); 128 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
130 129
131 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 130 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
132 , DWORD grfStatFlag); 131 , DWORD grfStatFlag);
133 }; 132 };
134 133
135 #endif // SK_BUILD_FOR_WIN 134 #endif // SK_BUILD_FOR_WIN
136 #endif // SkIStream_DEFINED 135 #endif // SkIStream_DEFINED
OLDNEW
« no previous file with comments | « include/utils/win/SkHRESULT.h ('k') | include/utils/win/SkTScopedComPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698