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

Unified Diff: win8/metro_driver/direct3d_helper.h

Issue 1815463002: Remove win8/metro_driver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « win8/metro_driver/devices_handler.cc ('k') | win8/metro_driver/direct3d_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/direct3d_helper.h
diff --git a/win8/metro_driver/direct3d_helper.h b/win8/metro_driver/direct3d_helper.h
deleted file mode 100644
index 863a1469c92b0085f026a146abce5c7adabaad58..0000000000000000000000000000000000000000
--- a/win8/metro_driver/direct3d_helper.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WIN8_METRO_DRIVER_DIRECT3D_HELPER_
-#define WIN8_METRO_DRIVER_DIRECT3D_HELPER_
-
-
-#include <windows.ui.core.h>
-#include <windows.foundation.h>
-#include <d3d11_1.h>
-
-#include "base/macros.h"
-
-namespace metro_driver {
-
-// We need to initalize a Direct3D device and swapchain so that the browser
-// can Present to our HWND. This class takes care of creating and keeping the
-// swapchain up to date.
-class Direct3DHelper {
- public:
- Direct3DHelper();
- ~Direct3DHelper();
-
- void Initialize(winui::Core::ICoreWindow* window);
-
- private:
- void CreateDeviceResources();
- void CreateWindowSizeDependentResources();
-
- winui::Core::ICoreWindow* window_;
-
- mswr::ComPtr<ID3D11Device1> d3d_device_;
- mswr::ComPtr<ID3D11DeviceContext1> d3d_context_;
- mswr::ComPtr<IDXGISwapChain1> swap_chain_;
- D3D_FEATURE_LEVEL feature_level_;
-
- ABI::Windows::Foundation::Rect window_bounds_;
-
- DISALLOW_COPY_AND_ASSIGN(Direct3DHelper);
-};
-
-} // namespace metro_driver
-
-#endif // WIN8_METRO_DRIVER_DIRECT3D_HELPER_
« no previous file with comments | « win8/metro_driver/devices_handler.cc ('k') | win8/metro_driver/direct3d_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698