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

Unified Diff: test/win/enable-winrt/dllmain.cc

Issue 596023003: Revert "I need this change to create Windows 8.1/Windows Phone 8.1 projects that compile modules th… (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 3 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 | « pylib/gyp/generator/msvs.py ('k') | test/win/enable-winrt/enable-winrt.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/enable-winrt/dllmain.cc
diff --git a/test/win/enable-winrt/dllmain.cc b/test/win/enable-winrt/dllmain.cc
deleted file mode 100644
index dedd83c3f66d60dc035be56b700636ff659b0644..0000000000000000000000000000000000000000
--- a/test/win/enable-winrt/dllmain.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2013 Google Inc. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <windows.h>
-#include <wrl.h>
-#include <wrl/wrappers/corewrappers.h>
-#include <windows.graphics.display.h>
-
-using namespace Microsoft::WRL;
-using namespace Microsoft::WRL::Wrappers;
-using namespace ABI::Windows::Foundation;
-using namespace ABI::Windows::Graphics::Display;
-
-bool TryToUseSomeWinRT() {
- ComPtr<IDisplayPropertiesStatics> dp;
- HStringReference s(RuntimeClass_Windows_Graphics_Display_DisplayProperties);
- HRESULT hr = GetActivationFactory(s.Get(), dp.GetAddressOf());
- if (SUCCEEDED(hr)) {
- float dpi = 96.0f;
- if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) {
- return true;
- }
- }
- return false;
-}
-
-BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
« no previous file with comments | « pylib/gyp/generator/msvs.py ('k') | test/win/enable-winrt/enable-winrt.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698