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

Unified Diff: app/win_util.cc

Issue 3435002: Revert 52446 - Supports High DPI mode.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | « app/win_util.h ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/win_util.cc
===================================================================
--- app/win_util.cc (revision 59352)
+++ app/win_util.cc (working copy)
@@ -22,7 +22,6 @@
#include "base/scoped_comptr_win.h"
#include "base/scoped_handle.h"
#include "base/scoped_handle_win.h"
-#include "base/scoped_native_library.h"
#include "base/string_util.h"
#include "base/win_util.h"
#include "gfx/codec/png_codec.h"
@@ -582,18 +581,4 @@
base::UnloadNativeLibrary(shell32_library);
}
-void CallSetProcessDPIAware() {
- // This functionality is only available on Vista or later.
- if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA)
- return;
-
- base::ScopedNativeLibrary user32(
- FilePath(base::GetNativeLibraryName(L"user32")));
- typedef BOOL (*SetProcessDPIAwareFunc)();
- SetProcessDPIAwareFunc set_process_dpi_aware =
- (SetProcessDPIAwareFunc)user32.GetFunctionPointer("SetProcessDPIAware");
- if (set_process_dpi_aware)
- set_process_dpi_aware();
-}
-
} // namespace win_util
« no previous file with comments | « app/win_util.h ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698