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

Unified Diff: chrome/app/chrome_exe_main_win.cc

Issue 100923011: Initialize high dpi early in the chrome process on Windows by calling the SetProcessDpiAware API in… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_exe_main_win.cc
===================================================================
--- chrome/app/chrome_exe_main_win.cc (revision 241939)
+++ chrome/app/chrome_exe_main_win.cc (working copy)
@@ -26,6 +26,7 @@
#include "content/public/app/startup_helper_win.h"
#include "content/public/common/result_codes.h"
#include "sandbox/win/src/sandbox_factory.h"
+#include "ui/gfx/win/dpi.h"
namespace {
@@ -125,6 +126,8 @@
// The exit manager is in charge of calling the dtors of singletons.
base::AtExitManager exit_manager;
+ gfx::EnableHighDPISupport();
+
if (AttemptFastNotify(*CommandLine::ForCurrentProcess()))
return 0;
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698