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

Side by Side Diff: chrome_frame/ole_document_impl.h

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Address comments: -EXPRESS define, memset always implemented, coding style Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(slightlyoff): Add any required LICENSE block changes for MSFT code 5 // TODO(slightlyoff): Add any required LICENSE block changes for MSFT code
6 // inclusion. 6 // inclusion.
7 7
8 // ole_document_impl.h : IOleDocument implementation 8 // ole_document_impl.h : IOleDocument implementation
9 // 9 //
10 // This file is a modified version of the OleDocument.h file, which is 10 // This file is a modified version of the OleDocument.h file, which is
(...skipping 11 matching lines...) Expand all
22 // Active Template Library product. 22 // Active Template Library product.
23 23
24 #ifndef CHROME_FRAME_OLE_DOCUMENT_IMPL_H_ 24 #ifndef CHROME_FRAME_OLE_DOCUMENT_IMPL_H_
25 #define CHROME_FRAME_OLE_DOCUMENT_IMPL_H_ 25 #define CHROME_FRAME_OLE_DOCUMENT_IMPL_H_
26 26
27 // TODO(sanjeevr): Revisit this impl file and cleanup dependencies 27 // TODO(sanjeevr): Revisit this impl file and cleanup dependencies
28 #include <atlbase.h> 28 #include <atlbase.h>
29 #include <docobj.h> 29 #include <docobj.h>
30 30
31 #include "base/logging.h" 31 #include "base/logging.h"
32 #include "base/win/atlcheck.h"
32 33
33 ////////////////////////////////////////////////////////////////////////////// 34 //////////////////////////////////////////////////////////////////////////////
34 // IOleDocumentImpl 35 // IOleDocumentImpl
35 template <class T> 36 template <class T>
36 class ATL_NO_VTABLE IOleDocumentImpl : public IOleDocument { 37 class ATL_NO_VTABLE IOleDocumentImpl : public IOleDocument {
37 public: 38 public:
38 STDMETHOD(CreateView)(IOleInPlaceSite* in_place_site, 39 STDMETHOD(CreateView)(IOleInPlaceSite* in_place_site,
39 IStream* stream, 40 IStream* stream,
40 DWORD reserved , 41 DWORD reserved ,
41 IOleDocumentView** new_view) { 42 IOleDocumentView** new_view) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 DVLOG(1) << __FUNCTION__ << " not implemented"; 239 DVLOG(1) << __FUNCTION__ << " not implemented";
239 return E_NOTIMPL; 240 return E_NOTIMPL;
240 } 241 }
241 242
242 HRESULT ActiveXDocActivate(LONG verb) { 243 HRESULT ActiveXDocActivate(LONG verb) {
243 return E_NOTIMPL; 244 return E_NOTIMPL;
244 } 245 }
245 }; 246 };
246 247
247 #endif // CHROME_FRAME_OLE_DOCUMENT_IMPL_H_ 248 #endif // CHROME_FRAME_OLE_DOCUMENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698