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: win8/metro_driver/direct3d_helper.h

Issue 1540973003: Switch to standard integer types in win8/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « win8/metro_driver/devices_handler.h ('k') | win8/metro_driver/file_picker.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 WIN8_METRO_DRIVER_DIRECT3D_HELPER_ 5 #ifndef WIN8_METRO_DRIVER_DIRECT3D_HELPER_
6 #define WIN8_METRO_DRIVER_DIRECT3D_HELPER_ 6 #define WIN8_METRO_DRIVER_DIRECT3D_HELPER_
7 7
8 #include "base/basictypes.h"
9 8
10 #include <windows.ui.core.h> 9 #include <windows.ui.core.h>
11 #include <windows.foundation.h> 10 #include <windows.foundation.h>
12 #include <d3d11_1.h> 11 #include <d3d11_1.h>
13 12
13 #include "base/macros.h"
14
14 namespace metro_driver { 15 namespace metro_driver {
15 16
16 // We need to initalize a Direct3D device and swapchain so that the browser 17 // We need to initalize a Direct3D device and swapchain so that the browser
17 // can Present to our HWND. This class takes care of creating and keeping the 18 // can Present to our HWND. This class takes care of creating and keeping the
18 // swapchain up to date. 19 // swapchain up to date.
19 class Direct3DHelper { 20 class Direct3DHelper {
20 public: 21 public:
21 Direct3DHelper(); 22 Direct3DHelper();
22 ~Direct3DHelper(); 23 ~Direct3DHelper();
23 24
(...skipping 11 matching lines...) Expand all
35 D3D_FEATURE_LEVEL feature_level_; 36 D3D_FEATURE_LEVEL feature_level_;
36 37
37 ABI::Windows::Foundation::Rect window_bounds_; 38 ABI::Windows::Foundation::Rect window_bounds_;
38 39
39 DISALLOW_COPY_AND_ASSIGN(Direct3DHelper); 40 DISALLOW_COPY_AND_ASSIGN(Direct3DHelper);
40 }; 41 };
41 42
42 } // namespace metro_driver 43 } // namespace metro_driver
43 44
44 #endif // WIN8_METRO_DRIVER_DIRECT3D_HELPER_ 45 #endif // WIN8_METRO_DRIVER_DIRECT3D_HELPER_
OLDNEW
« no previous file with comments | « win8/metro_driver/devices_handler.h ('k') | win8/metro_driver/file_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698