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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « no previous file | ui/base/win/dpi_setup.h » ('j') | ui/base/win/dpi_setup.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 16a64525c3436361ae119b913d4ea76e257f8623..d3195b49b1200a94e562e5aa93408eff0321992e 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -47,6 +47,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
#include "ui/base/ui_base_switches.h"
+#include "ui/base/win/dpi_setup.h"
#include "ui/base/win/message_box_win.h"
#include "ui/gfx/platform_font_win.h"
@@ -201,6 +202,8 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() {
// Make sure that we know how to handle exceptions from the message loop.
InitializeWindowProcExceptions();
}
+
+ ui::win::InitDeviceScaleFactor();
sky 2013/09/25 19:28:15 Should this be earlier on? Maybe before toolkit is
}
int ChromeBrowserMainPartsWin::PreCreateThreads() {
« no previous file with comments | « no previous file | ui/base/win/dpi_setup.h » ('j') | ui/base/win/dpi_setup.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698