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

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

Issue 99173003: Use lowercase windows.h in includes to fix Windows cross compilation using mingw. (Closed)
Patch Set: Created 7 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 #define WIN32_LEAN_AND_MEAN 13 #define WIN32_LEAN_AND_MEAN
14 #include <Windows.h> 14 #include <windows.h>
15 #include <ole2.h> 15 #include <ole2.h>
16 16
17 class SkStream; 17 class SkStream;
18 class SkWStream; 18 class SkWStream;
19 19
20 /** 20 /**
21 * A bare IStream implementation which properly reference counts 21 * A bare IStream implementation which properly reference counts
22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. 22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods.
23 */ 23 */
24 class SkBaseIStream : public IStream { 24 class SkBaseIStream : public IStream {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 , ULONG cb 122 , ULONG cb
123 , ULONG* pcbWritten); 123 , ULONG* pcbWritten);
124 124
125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); 125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
126 126
127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
128 , DWORD grfStatFlag); 128 , DWORD grfStatFlag);
129 }; 129 };
130 130
131 #endif 131 #endif
OLDNEW
« no previous file with comments | « include/utils/win/SkAutoCoInitialize.h ('k') | src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698