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

Side by Side Diff: components/html_viewer/layout_test_blink_settings_impl.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/html_viewer/layout_test_blink_settings_impl.h" 5 #include "components/html_viewer/layout_test_blink_settings_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "build/build_config.h"
9 #include "components/html_viewer/web_preferences.h" 10 #include "components/html_viewer/web_preferences.h"
10 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 11 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
11 12
12 #if defined(OS_WIN) 13 #if defined(OS_WIN)
13 #include "ui/gfx/win/dpi.h" 14 #include "ui/gfx/win/dpi.h"
14 #endif 15 #endif
15 16
16 namespace html_viewer { 17 namespace html_viewer {
17 18
18 namespace { 19 namespace {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 94
94 blink::WebRuntimeFeatures::enableExperimentalFeatures(true); 95 blink::WebRuntimeFeatures::enableExperimentalFeatures(true);
95 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true); 96 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true);
96 97
97 #if defined(OS_WIN) 98 #if defined(OS_WIN)
98 gfx::SetDefaultDeviceScaleFactor(1.0f); 99 gfx::SetDefaultDeviceScaleFactor(1.0f);
99 #endif 100 #endif
100 } 101 }
101 102
102 } // namespace html_viewer 103 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/layout_test_blink_settings_impl.h ('k') | components/html_viewer/layout_test_content_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698