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

Side by Side Diff: include/utils/win/SkIStream.h

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change for reed@ Created 5 years 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"
14
15 #ifdef SK_BUILD_FOR_WIN
16
13 #define WIN32_LEAN_AND_MEAN 17 #define WIN32_LEAN_AND_MEAN
14 #include <windows.h> 18 #include <windows.h>
15 #include <ole2.h> 19 #include <ole2.h>
16 20
17 class SkStream; 21 class SkStream;
18 class SkWStream; 22 class SkWStream;
19 23
20 /** 24 /**
21 * A bare IStream implementation which properly reference counts 25 * A bare IStream implementation which properly reference counts
22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. 26 * but returns E_NOTIMPL for all ISequentialStream and IStream methods.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv 125 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
122 , ULONG cb 126 , ULONG cb
123 , ULONG* pcbWritten); 127 , ULONG* pcbWritten);
124 128
125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); 129 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
126 130
127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 131 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
128 , DWORD grfStatFlag); 132 , DWORD grfStatFlag);
129 }; 133 };
130 134
131 #endif 135 #endif // SK_BUILD_FOR_WIN
136 #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