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

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

Issue 6684015: Move chrome\gpu to content\gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « content/gpu/gpu_dx_diagnostics_win.cc ('k') | content/gpu/gpu_idirect3d9_mock_win.cc » ('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) 2010 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 CHROME_GPU_GPU_IDIRECT3D9_MOCK_WIN_H__ 5 #ifndef CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
6 #define CHROME_GPU_GPU_IDIRECT3D9_MOCK_WIN_H__ 6 #define CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <windows.h> 10 #include <windows.h>
11 11
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 13
14 class IDirect3D9Mock : public IDirect3D9 { 14 class IDirect3D9Mock : public IDirect3D9 {
15 public: 15 public:
16 IDirect3D9Mock(); 16 IDirect3D9Mock();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 HRESULT(UINT Adapter, D3DDEVTYPE DeviceType, 67 HRESULT(UINT Adapter, D3DDEVTYPE DeviceType,
68 D3DCAPS9* pCaps)); 68 D3DCAPS9* pCaps));
69 MOCK_METHOD1_WITH_CALLTYPE(STDMETHODCALLTYPE, RegisterSoftwareDevice, 69 MOCK_METHOD1_WITH_CALLTYPE(STDMETHODCALLTYPE, RegisterSoftwareDevice,
70 HRESULT(void* pInitializeFunction)); 70 HRESULT(void* pInitializeFunction));
71 MOCK_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, QueryInterface, 71 MOCK_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, QueryInterface,
72 HRESULT(REFIID riid, void** ppvObj)); 72 HRESULT(REFIID riid, void** ppvObj));
73 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, AddRef, ULONG()); 73 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, AddRef, ULONG());
74 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, Release, ULONG()); 74 MOCK_METHOD0_WITH_CALLTYPE(STDMETHODCALLTYPE, Release, ULONG());
75 }; 75 };
76 76
77 #endif // CHROME_GPU_GPU_IDIRECT3D9_MOCK_WIN_H__ 77 #endif // CONTENT_GPU_GPU_IDIRECT3D9_MOCK_WIN_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_dx_diagnostics_win.cc ('k') | content/gpu/gpu_idirect3d9_mock_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698