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

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-06 (Monday) 13:54:33 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
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
18 #include <windows.h>
19 #include <ole2.h> 17 #include <ole2.h>
bungeman-skia 2016/06/06 18:45:56 I think we still need SkLeanWindows here because H
hal.canary 2016/06/06 19:38:28 Done.
20 18
21 class SkStream; 19 class SkStream;
22 class SkWStream; 20 class SkWStream;
23 21
24 /** 22 /**
25 * A bare IStream implementation which properly reference counts 23 * A bare IStream implementation which properly reference counts
26 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. 24 * but returns E_NOTIMPL for all ISequentialStream and IStream methods.
27 */ 25 */
28 class SkBaseIStream : public IStream { 26 class SkBaseIStream : public IStream {
29 private: 27 private:
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 , ULONG* pcbWritten); 125 , ULONG* pcbWritten);
128 126
129 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); 127 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
130 128
131 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 129 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
132 , DWORD grfStatFlag); 130 , DWORD grfStatFlag);
133 }; 131 };
134 132
135 #endif // SK_BUILD_FOR_WIN 133 #endif // SK_BUILD_FOR_WIN
136 #endif // SkIStream_DEFINED 134 #endif // SkIStream_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698