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

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: 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
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 #ifdef SK_BUILD_FOR_WIN
reed1 2015/12/01 14:42:23 nit: ws
hal.canary 2015/12/01 16:43:03 Done.
15
13 #define WIN32_LEAN_AND_MEAN 16 #define WIN32_LEAN_AND_MEAN
14 #include <windows.h> 17 #include <windows.h>
15 #include <ole2.h> 18 #include <ole2.h>
16 19
17 class SkStream; 20 class SkStream;
18 class SkWStream; 21 class SkWStream;
19 22
20 /** 23 /**
21 * A bare IStream implementation which properly reference counts 24 * A bare IStream implementation which properly reference counts
22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. 25 * 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 124 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
122 , ULONG cb 125 , ULONG cb
123 , ULONG* pcbWritten); 126 , ULONG* pcbWritten);
124 127
125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); 128 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
126 129
127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 130 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
128 , DWORD grfStatFlag); 131 , DWORD grfStatFlag);
129 }; 132 };
130 133
131 #endif 134 #endif // SK_BUILD_FOR_WIN
135 #endif // SkIStream_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698