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: content/browser/gpu/gpu_process_host.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 | « chrome/chrome_exe.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 241939)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -45,6 +45,7 @@
#include "content/common/sandbox_win.h"
#include "content/public/common/sandboxed_process_launcher_delegate.h"
#include "sandbox/win/src/sandbox_policy.h"
+#include "ui/gfx/switches.h"
#include "ui/surface/accelerated_surface_win.h"
#endif
@@ -1145,6 +1146,9 @@
#if defined(USE_OZONE)
switches::kOzonePlatform,
#endif
+#if defined(OS_WIN) && defined(USE_AURA)
+ switches::kHighDPISupport,
+#endif
};
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
arraysize(kSwitchNames));
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698