diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 22:11:21 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 22:11:21 +0000 |
commit | 5f45602c858afb7dd9f2ff891bb640aeef69d435 (patch) | |
tree | a8297f5b5e432d0abd45ad629d5bafc6a144a01a /content | |
parent | a0d2ad4db17e92d8b3f9098e8f8cd58158f01843 (diff) | |
download | chromium_src-5f45602c858afb7dd9f2ff891bb640aeef69d435.zip chromium_src-5f45602c858afb7dd9f2ff891bb640aeef69d435.tar.gz chromium_src-5f45602c858afb7dd9f2ff891bb640aeef69d435.tar.bz2 |
Pass the high-dpi-support command line switch to plugin processes.
This is to ensure that we mark these processes as DPI aware at startup. Needed because NPAPI plugins perform UI operations like
creating windows parented to the browser etc.
BUG=341543
R=cpu@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/139253003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/plugin_process_host.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index e329dcc..f30fd5d 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -56,6 +56,7 @@ #include "base/win/windows_version.h" #include "content/common/plugin_constants_win.h" #include "content/public/common/sandboxed_process_launcher_delegate.h" +#include "ui/gfx/switches.h" #endif namespace content { @@ -195,6 +196,9 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { #endif switches::kEnableStatsTable, switches::kFullMemoryCrashReport, +#if defined(OS_WIN) + switches::kHighDPISupport, +#endif switches::kLoggingLevel, switches::kLogPluginMessages, switches::kNoSandbox, |