1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/base/win/dpi_setup.h" 6 7 #include "ui/base/layout.h" 8 #include "ui/gfx/display.h" 9 #include "ui/gfx/win/dpi.h" 10 11 namespace ui { 12 namespace win { 13 InitDeviceScaleFactor()14void InitDeviceScaleFactor() { 15 gfx::InitDeviceScaleFactor(gfx::GetDPIScale()); 16 } 17 18 } // namespace win 19 } // namespace ui 20