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

Side by Side Diff: content/gpu/gpu_idirect3d9_mock_win.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/gpu/gpu_info_collector.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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_ 5 #ifndef CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
6 #define CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_ 6 #define CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
7 #pragma once
8 7
9 #include <d3d9.h> 8 #include <d3d9.h>
10 #include <windows.h> 9 #include <windows.h>
11 10
12 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
13 12
14 class IDirect3D9Mock : public IDirect3D9 { 13 class IDirect3D9Mock : public IDirect3D9 {
15 public: 14 public:
16 IDirect3D9Mock(); 15 IDirect3D9Mock();
17 virtual ~IDirect3D9Mock(); 16 virtual ~IDirect3D9Mock();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 D3DCAPS9* pCaps)); 67 D3DCAPS9* pCaps));
69 MOCK_METHOD1_WITH_CALLTYPE(STDMETHODCALLTYPE, RegisterSoftwareDevice, 68 MOCK_METHOD1_WITH_CALLTYPE(STDMETHODCALLTYPE, RegisterSoftwareDevice,
70 HRESULT(void* pInitializeFunction)); 69 HRESULT(void* pInitializeFunction));
71 MOCK_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, QueryInterface, 70 MOCK_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, QueryInterface,
72 HRESULT(REFIID riid, void** ppvObj)); 71 HRESULT(REFIID riid, void** ppvObj));
73 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, AddRef, ULONG()); 72 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, AddRef, ULONG());
74 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, Release, ULONG()); 73 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, Release, ULONG());
75 }; 74 };
76 75
77 #endif // CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_ 76 #endif // CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/gpu/gpu_info_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698